diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 90a12f2..a64c390 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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: