summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonin Dach2021-11-07 14:32:30 +0100
committerAntonin Dach2021-11-07 14:32:30 +0100
commita60a3a9851734bfd4a317fcd46bf73f4b56c86fd (patch)
tree2978bf612943b84d44fac9b760bc1998eb530acf
parentbe89c1e7f4c030d73a326b6aba63ebdc2a1aca6c (diff)
downloadaur-a60a3a9851734bfd4a317fcd46bf73f4b56c86fd.tar.gz
make sure tags are used during CI
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e655502297e3..9b4e19fcd8ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = librewolf-firefox-shim
pkgdesc = A symlink for using librewolf as a firefox
- pkgver = 93.0
+ pkgver = 94.0
pkgrel = 1
url = https://librewolf-community.gitlab.io/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index be595f6eb0fc..0af21bcb0f31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Antonin Dach <dach@protonmail.com>
pkgname=librewolf-firefox-shim
-pkgver=93.0
+pkgver=94.0
pkgrel=1
pkgdesc="A symlink for using librewolf as a firefox"
arch=('any')
@@ -17,7 +17,7 @@ conflicts=(
pkgver() {
if [[ $CI == true ]]; then
# Assuming build runner is without extra and has online access
- git ls-remote https://gitlab.com/librewolf-community/browser/arch | tail -n 1 | cut -d/ -f3 | cut -c 2- | cut -d- -f1
+ git ls-remote https://gitlab.com/librewolf-community/browser/arch | grep refs/tags/ | tail -n 1 | cut -d/ -f3 | cut -c 2- | cut -d- -f1
else
pacman -Qi librewolf | grep -E '^Version[[:space:]]*:' | head -n 1 | awk -F ':' '{print $2}' | sed -E 's|-.*||' | tr -d '[[:space:]]'