Update package version to 140.0.2p1 and added icon files

This commit is contained in:
2025-07-14 18:45:42 +03:00
parent 11e4792865
commit 7013b455dc
3 changed files with 24 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# Gitlab repository
REPO="librewolf-community/browser/source"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
# Trim '-gitlab' suffix
TAG_NAME=$(echo "$TAG_NAME" | sed 's/-gitlab//g')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | tr '-' 'p')
echo "$VERSION"