#!/bin/bash # Gitea repository REPO="quickshell/quickshell" # Get tag name using Forgejo Rest API TAG_NAME=$(curl -s -L https://git.outfoxxed.me/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name) # Trim 'v' character in TAG_NAME variable VERSION=$(echo "$TAG_NAME" | tr -d 'v') echo "$VERSION"