2025-03-01 01:53:09 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
2025-04-18 23:32:21 +02:00
|
|
|
#!nix-shell -i bash -p curl jq nix-update
|
2025-03-01 01:53:09 +01:00
|
|
|
|
2025-04-18 23:32:21 +02:00
|
|
|
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
|