fix: element-web changed its release branch from "develop" to "staging"
Some checks failed
/ ansible-semaphore (push) Successful in 1m49s
/ daliserver (push) Successful in 1m46s
/ forgejo (push) Successful in 2m49s
/ forgejo-runner (push) Successful in 1m9s
/ http-mqtt-bridge (push) Successful in 2m36s
/ keycloak-25 (push) Successful in 3m42s
/ linux-diversion-ath-regd-optional (push) Successful in 11m42s
/ lottieconverter (push) Successful in 44s
/ matterbridge (push) Successful in 2m11s
/ matrix-element-web (push) Successful in 2m24s
/ matrix-hydrogen (push) Successful in 1m4s
/ matrix.to (push) Successful in 3m28s
/ maubot (push) Successful in 5m7s
/ maubot-plugin-spaceapi (push) Successful in 1m26s
/ maubot-plugin-ultimaker (push) Successful in 1m8s
/ mautrix-signal (push) Successful in 1m11s
/ mautrix-telegram (push) Successful in 1m3s
/ mediawiki-extension-auth-remoteuser (push) Successful in 1m8s
/ mediawiki-extension-nativesvghandler (push) Successful in 54s
/ mediawiki-extension-openidconnect (push) Successful in 1m20s
/ repo.s3lph.me-apt-source (push) Successful in 46s
/ republik-feeder (push) Successful in 53s
/ woodpecker-agent (push) Successful in 1m34s
/ woodpecker-cli (push) Successful in 1m35s
/ ripe-atlas (push) Failing after 11m11s
/ python3-telethon (push) Failing after 11m14s
/ python3-mautrix (push) Failing after 11m16s
/ prometheus2influxdb (push) Failing after 11m18s
/ prometheus-dnsbl-exporter (push) Failing after 11m23s
/ prometheus-ipmi-exporter (push) Failing after 11m28s
/ mqtt2prometheus (push) Failing after 11m32s
/ mediawiki-extension-pluggableauth (push) Failing after 11m38s

This commit is contained in:
s3lph 2024-09-08 02:56:06 +02:00
parent 23deb221e0
commit a0ad064a83
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

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=="refs/heads/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/staging" ) | "\(.tag_name[1:]) \(.published_at) \(.assets[] | select(.name|test("element-.*.tar.gz$")).browser_download_url )"'
ROOT=$(pwd)
function fetch() {