Update package version to 154.0.1p3

This commit is contained in:
2026-09-04 15:57:34 +03:00
parent 852f8390eb
commit be3b153294
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
#!/bin/bash
# Codeberg repository
# Gitea repository
REPO="librewolf/source"
# Get version from tag name using Codeberg Rest API
TAG_NAME=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
# Get version from tag name using Gitea Rest API
TAG_NAME=$(curl -s -L https://librewolf.dev/api/v1/repos/$REPO/releases/latest | jq -r '.tag_name')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | tr '-' 'p')
# Replace '-' with 'p'
VERSION=${TAG_NAME//-/p}
echo "$VERSION"