Initial commit

This commit is contained in:
2026-01-01 17:53:34 +02:00
commit ff0fd8ab3a
4 changed files with 61 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Codeberg repository
REPO="Limine/Limine"
# Get version from tag name using Codeberg Rest API
VERSION=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/releases/latest | jq -r '.tag_name')
# Remove 'v'
VERSION=${VERSION//v/}
echo "$VERSION"