Skip to content

Commit 775f47d

Browse files
authoredMar 28, 2025
Merge branch 'main' into version-3.4.0
2 parents bc33c12 + 3661908 commit 775f47d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
140140
build-snap:
141141
runs-on: ${{ matrix.os }}
142+
if: github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
142143
needs: ['build-linux']
143144

144145
strategy:

‎snap/snapcraft.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ parts:
2828
tldr:
2929
plugin: python
3030
source: https://github.com/tldr-pages/tldr-python-client.git
31-
source-tag: $SNAPCRAFT_PROJECT_VERSION
3231
build-environment:
3332
- PATH: ${CRAFT_PART_INSTALL}/bin:${PATH}
3433
- PYTHONPATH: ${CRAFT_PART_INSTALL}/lib/python3.12/site-packages
3534
override-pull: |
3635
craftctl default
37-
sed -i "/data_files=\[('share\/man\/man1', \['docs\/man\/tldr\.1'\])\],/d" setup.py
3836
override-build: |
3937
craftctl default
4038
cd $CRAFT_PART_SRC/docs

0 commit comments

Comments
 (0)