Initial commit

This commit is contained in:
2026-09-04 16:00:01 +03:00
commit a3060faff5
4 changed files with 60 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Gitea repository
REPO="libburnia/libisofs"
# Get version from tag name using Gitea Rest API
TAG_NAME=$(curl -s -L https://dev.lovelyhq.com/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
# Trim prefix
VERSION=${TAG_NAME//release-/}
echo "$VERSION"