From fe0c71246ca98a4b9d688d55e62db5bef11aa2c4 Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Mon, 8 Jul 2024 23:21:41 -0400 Subject: [PATCH] Fix build-linux.yml --- .github/workflows/build-linux.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index a64c390..6a5a5b4 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -40,18 +40,15 @@ 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 python -m zipfile -e Picocrypt.zip Picocrypt cp src/Picocrypt Picocrypt/Picocrypt/usr/bin/picocrypt-gui + 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 cd Picocrypt dpkg-deb -Zxz --build --root-owner-group Picocrypt