diff options
author | Antonin Dach | 2021-11-07 14:32:30 +0100 |
---|---|---|
committer | Antonin Dach | 2021-11-07 14:32:30 +0100 |
commit | a60a3a9851734bfd4a317fcd46bf73f4b56c86fd (patch) | |
tree | 2978bf612943b84d44fac9b760bc1998eb530acf | |
parent | be89c1e7f4c030d73a326b6aba63ebdc2a1aca6c (diff) | |
download | aur-a60a3a9851734bfd4a317fcd46bf73f4b56c86fd.tar.gz |
make sure tags are used during CI
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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:]]' |