Initial commit

This commit is contained in:
2026-06-18 11:00:34 +03:00
commit c58987ca28
4 changed files with 113 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Codeberg repository
REPO="sox_ng/sox_ng"
# Get version from tag name using Codeberg Rest API
TAG_NAME=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
# Trim prefix
VERSION=${TAG_NAME//sox_ng-/}
echo "$VERSION"