Add version to .deb

This commit is contained in:
Evan Su 2024-07-08 23:02:09 -04:00 committed by GitHub
parent b4350e45d6
commit 9cb2adbc0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ jobs:
- name: Package as .deb
run: |
wget https://github.com/user-attachments/files/15934717/Picocrypt.zip
wget https://github.com/user-attachments/files/16136712/Picocrypt.zip
python -m zipfile -e Picocrypt.zip Picocrypt
cp src/Picocrypt Picocrypt/Picocrypt/usr/bin/picocrypt-gui
cd Picocrypt
@ -72,6 +72,8 @@ jobs:
run: |
VERSION=$(cat VERSION)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "Version: $VERSION" >> Picocrypt/Picocrypt/DEBIAN/control
echo "Version=$VERSION" >> Picocrypt/Picocrypt/usr/share/applications/picocrypt.desktop
- name: Release
uses: softprops/action-gh-release@v2