Add license
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Gitea repository
|
||||
REPO="EnumDev/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)
|
||||
|
||||
echo "$VERSION"
|
||||
Reference in New Issue
Block a user