Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
700faee7da | ||
|
|
4d7845440c | ||
|
|
31c8b3139a | ||
|
|
ea3d534774 |
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -42,9 +42,9 @@ jobs:
|
||||
run: |
|
||||
mkdir -p build/linux/opt
|
||||
mkdir -p build/linux/usr/share/applications
|
||||
mkdir -p build/linux/usr/share/icons
|
||||
mkdir -p build/linux/usr/share/pixmaps
|
||||
cp -r dist/gotify-tray build/linux/opt/gotify-tray
|
||||
cp gotify_tray/gui/images/logo.ico build/linux/usr/share/icons/gotify-tray.ico
|
||||
cp gotify_tray/gui/images/gotify-small.png build/linux/usr/share/pixmaps/gotify-tray.png
|
||||
cp gotifytray.desktop build/linux/usr/share/applications
|
||||
find build/linux/opt/gotify-tray -type f -exec chmod 644 -- {} +
|
||||
find build/linux/opt/gotify-tray -type d -exec chmod 755 -- {} +
|
||||
|
||||
@@ -3,7 +3,7 @@ Name=Gotify Tray
|
||||
Comment=A tray notification application for receiving messages from a Gotify server.
|
||||
Path=/opt/gotify-tray
|
||||
Exec=/opt/gotify-tray/gotify-tray
|
||||
Icon=/usr/share/icons/gotify-tray.ico
|
||||
Icon=/usr/share/pixmaps/gotify-tray.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;
|
||||
|
||||
21
release.sh
Executable file
21
release.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to create and push a release tag
|
||||
# Usage: ./release.sh <version> [message]
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Usage: $0 <version> [message]"
|
||||
echo "Example: $0 v0.5.22 'Release v0.5.22'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$1
|
||||
MESSAGE=${2:-"Release $VERSION"}
|
||||
|
||||
echo "Creating tag $VERSION with message: $MESSAGE"
|
||||
git tag -a "$VERSION" -m "$MESSAGE"
|
||||
|
||||
echo "Pushing tag $VERSION"
|
||||
git push local "$VERSION"
|
||||
|
||||
echo "Tag $VERSION pushed. Workflow will build and release automatically."
|
||||
Reference in New Issue
Block a user