fix: ansible-semaphore, matrix-element-web

This commit is contained in:
s3lph 2024-06-10 23:07:44 +02:00
parent b558446308
commit d473c1677b
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5
2 changed files with 2 additions and 2 deletions
ansible-semaphore
matrix-element-web

View file

@ -6,7 +6,7 @@ set -exo pipefail
PKGNAME=ansible-semaphore
API_URL=https://api.github.com/repos/ansible-semaphore/semaphore/releases
API_URL=https://api.github.com/repos/semaphoreui/semaphore/releases
JQ_EXPR='.[] | select( .prerelease==false and .draft==false and (.tag_name|test("^v[0-9.-]+$")) ) | "\(.name[1:]) \(.published_at) \(.assets[] | select(.name|test(".*_linux_amd64.tar.gz$")).browser_download_url )"'
ROOT=$(pwd)

View file

@ -3,7 +3,7 @@
set -exo pipefail
API_URL=https://api.github.com/repos/element-hq/element-web/releases
JQ_EXPR='.[] | select( .prerelease==false and .draft==false and .target_commitish=="develop" ) | "\(.tag_name[1:]) \(.published_at) \(.assets[] | select(.name|test("element-.*.tar.gz$")).browser_download_url )"'
JQ_EXPR='.[] | select( .prerelease==false and .draft==false and .target_commitish=="refs/heads/develop" ) | "\(.tag_name[1:]) \(.published_at) \(.assets[] | select(.name|test("element-.*.tar.gz$")).browser_download_url )"'
ROOT=$(pwd)
function fetch() {