glitchtip: don't rely on releases in update script

This commit is contained in:
Defelo
2025-04-18 23:35:26 +02:00
parent 3fce1195d1
commit 2358d006aa
+7 -3
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update
#!nix-shell -i bash -p curl jq nix-update
nix-update glitchtip
nix-update glitchtip.frontend
set -eou pipefail
version=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/15450933/repository/tags | jq -r '.[0].name')
nix-update --version="$version" glitchtip
nix-update --version="$version" glitchtip.frontend