1#!/usr/bin/env nix-shell
2#!nix-shell -i bash -p curl jq nix-update
3
4set -eou pipefail
5
6version=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/15450933/repository/tags | jq -r '.[0].name')
7
8nix-update --version="$version" glitchtip
9nix-update --version="$version" glitchtip.frontend