Update package version to 154.0.1p3
This commit is contained in:
+5
-5
@@ -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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: librewolf
|
||||
description: A custom version of Firefox, focused on privacy, security and freedom
|
||||
version: 152.0.6p1
|
||||
version: 154.0.1p3
|
||||
revision: 1
|
||||
url: https://librewolf.net/
|
||||
license: MPL2
|
||||
@@ -52,7 +52,7 @@ make_depends:
|
||||
- rustc
|
||||
- unzip
|
||||
downloads:
|
||||
- url: https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz
|
||||
- url: https://librewolf.dev/api/packages/librewolf/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 041930cb71eeb565b736ff8e6d044381314633b2c3c2b19ab674bf3e19f7f870
|
||||
checksum: fee6caac30f9aff6dfd8fe868ce843602b03c3072609c86ff7fc6c17c397a6cc
|
||||
|
||||
Reference in New Issue
Block a user