Update package version to 0.9.1

This commit is contained in:
2025-09-20 14:56:15 +03:00
parent 8dd3576d83
commit 8d497b9a5d
3 changed files with 21 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="https://git.sr.ht/~kennylevinsen/seatd"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | grep -v '-' | tail -1 | cut -d'/' -f3)
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION"