Update build-linux.yml

This commit is contained in:
Evan Su 2024-07-08 23:08:40 -04:00 committed by GitHub
parent cfc9560ce7
commit cc86b38ce5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,13 @@ jobs:
CGO_ENABLED: 1
GOAMD64: v2
- name: Set .deb version
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: Package as .deb
run: |
wget https://github.com/user-attachments/files/16136712/Picocrypt.zip
@ -68,13 +75,6 @@ jobs:
if-no-files-found: error
compression-level: 9
- name: Get version tag
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
with: