File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 7979 rm build/.build-metadata.env
8080 fi
8181 APPIMAGE_SOURCE=build
82- APPIMAGE_VERSION="${GITHUB_REF_SLUG }-${{ matrix.base.codename }}"
82+ APPIMAGE_VERSION="${VERSION }-${{ matrix.base.codename }}"
8383 APPIMAGE_APT_ARCH="${TARGETARCH}"
8484 APPIMAGE_APT_DISTRO="${{ matrix.base.codename }}"
8585 APPIMAGE_APT_PUBKEY="${{ matrix.base.pubkey }}"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ RUN <<EOR
1414 fi
1515
1616 apt-get update
17+ export DEBIAN_FRONTEND=noninteractive
1718 apt-get install -y --no-install-recommends \
1819 gcc \
1920 git \
@@ -49,9 +50,13 @@ RUN <<EOR
4950 python -m venv .env
5051 . .env/bin/activate
5152 pip install --prefix "${TARGET}/usr" dist/*.whl
53+
5254 # fix shebangs of scripts from '#!/work/.env/bin/python'
5355 find "${TARGET}/usr/bin" -type f | xargs sed -i 's:work/.env:usr:'
5456
57+ # save version
58+ python -c "from scc._version import __version__; print('VERSION=' + __version__)" >>/build/.build-metadata.env
59+
5560 # Provide input-event-codes.h as fallback for runtime systems without linux headers
5661 cp -a \
5762 "$(find /usr -type f -name input-event-codes.h -print -quit)" \
You can’t perform that action at this time.
0 commit comments