Update package version to 7.4

This commit is contained in:
2026-02-16 12:34:26 +02:00
parent 89128f7e8e
commit 912540496c
2 changed files with 9 additions and 7 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
#!/bin/bash
# Gitea repository
REPO="EnumDev/stormfetch"
# Github repository
REPO="EnumeratedDev/stormfetch"
# Get version from tag name using Gitea Rest API
VERSION=$(curl -s -L https://git.enumerated.dev/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
# Get tag name using Github Rest API
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
echo "$VERSION"
echo "$TAG_NAME"