From 9cb2adbc0ecf680aca8b9f209185dbe78406982d Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:02:09 -0400 Subject: [PATCH] Add version to .deb --- .github/workflows/build-linux.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 78f2411..90a12f2 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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