Files
gotify-tray-customized/release.sh
kdusek ea3d534774
All checks were successful
build / build-linux (push) Successful in 16s
Add release script for easy tagging
2025-12-08 00:26:33 +01:00

21 lines
488 B
Bash
Executable File

#!/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."