File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ jobs:
139
139
140
140
build-snap :
141
141
runs-on : ${{ matrix.os }}
142
+ if : github.repository == 'tldr-pages/tldr-python-client' && github.ref == 'refs/heads/main'
142
143
needs : ['build-linux']
143
144
144
145
strategy :
Original file line number Diff line number Diff line change @@ -28,13 +28,11 @@ parts:
28
28
tldr :
29
29
plugin : python
30
30
source : https://github.com/tldr-pages/tldr-python-client.git
31
- source-tag : $SNAPCRAFT_PROJECT_VERSION
32
31
build-environment :
33
32
- PATH : ${CRAFT_PART_INSTALL}/bin:${PATH}
34
33
- PYTHONPATH : ${CRAFT_PART_INSTALL}/lib/python3.12/site-packages
35
34
override-pull : |
36
35
craftctl default
37
- sed -i "/data_files=\[('share\/man\/man1', \['docs\/man\/tldr\.1'\])\],/d" setup.py
38
36
override-build : |
39
37
craftctl default
40
38
cd $CRAFT_PART_SRC/docs
You can’t perform that action at this time.
0 commit comments