mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 05:48:30 +02:00
Fix build-linux.yml
This commit is contained in:
parent
bb828bfba9
commit
fe0c71246c
1 changed files with 4 additions and 7 deletions
11
.github/workflows/build-linux.yml
vendored
11
.github/workflows/build-linux.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue