Update package version to 2.0.2

This commit is contained in:
2026-03-21 16:10:54 +02:00
parent 68461ad431
commit 786a65abe3
3 changed files with 10 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
REPO="mypaint/mypaint-brushes"
# 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')
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"/tags | jq -r '.[].name' | grep '^v' | sort -V | tail -n1)
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')