Skip to content

Commit 44b40fa

Browse files
committed
cleanup: update workflows, bump snap version
Signed-off-by: K.B.Dharun Krishna <[email protected]>
1 parent 0bdc78f commit 44b40fa

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will upload a Python Package using Trusted Publishers automatically when a release is created
1+
# This workflow will upload a Python Package using Trusted Publishers automatically when a release is created and the deployment is approved by an admin
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33
# and https://docs.pypi.org/trusted-publishers/using-a-publisher/.
44

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
run: |
9898
python3 -m pip install .
9999
tldr --version
100-
tldr tldr --markdown
101100
102101
build-windows:
103102
runs-on: windows-latest
@@ -144,7 +143,6 @@ jobs:
144143
run: |
145144
python3 -m pip install .
146145
tldr --version
147-
tldr tldr --markdown
148146
149147
build-windows-arm:
150148
runs-on: windows-11-arm
@@ -183,11 +181,10 @@ jobs:
183181
run: |
184182
python3 -m pip install .
185183
tldr --version
186-
tldr tldr --markdown
187184
188185
build-snap:
189186
runs-on: ${{ matrix.os }}
190-
if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
187+
if: github.repository == 'tldr-pages/tldr-python-client' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
191188
needs: ['build-linux']
192189

193190
permissions:

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: tldr
22
base: core24
3-
version: '3.4.0'
3+
version: '3.4.1'
44
summary: tldr python client
55
description: Official Python command-line client for tldr pages.
66

0 commit comments

Comments
 (0)