Initial commit

This commit is contained in:
2025-08-06 12:52:07 +03:00
commit ef727d5049
4 changed files with 79 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Codeberg repository
REPO="dnkl/foot"
# Get version from tag name using Codeberg Rest API
VERSION=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
echo "$VERSION"