Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2473ad714 | ||
|
|
56bebb4be7 | ||
|
|
e9bcac4f04 | ||
|
|
e2b94e2c23 |
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -28,8 +28,11 @@ jobs:
|
|||||||
ls -la /lib/x86_64-linux-gnu/libpython* 2>/dev/null || echo "Not found in /lib"
|
ls -la /lib/x86_64-linux-gnu/libpython* 2>/dev/null || echo "Not found in /lib"
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: pyinstaller gotify-tray.spec
|
run: pyinstaller gotify-tray.spec
|
||||||
- name: Install fpm
|
- name: Install Ruby and fpm
|
||||||
run: sudo gem install fpm
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ruby-full
|
||||||
|
gem install fpm
|
||||||
- name: Build Debian package
|
- name: Build Debian package
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/linux/opt
|
mkdir -p build/linux/opt
|
||||||
@@ -52,7 +55,7 @@ jobs:
|
|||||||
-m k.dries@protonmail.com \
|
-m k.dries@protonmail.com \
|
||||||
--description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \
|
--description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \
|
||||||
--category internet \
|
--category internet \
|
||||||
--version "$(cat version.txt)" \
|
--version "${{github.ref_name#v}}" \
|
||||||
--license GPLv3
|
--license GPLv3
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
@@ -66,6 +69,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: gotify-tray_${{github.ref_name}}_amd64.deb
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user