tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
glitchtip: don't rely on releases in update script
Defelo
9 months ago
2358d006
3fce1195
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
gl
glitchtip
update.sh
+7
-3
pkgs/by-name/gl/glitchtip/update.sh
···
1
#!/usr/bin/env nix-shell
2
-
#!nix-shell -i bash -p nix-update
3
4
-
nix-update glitchtip
5
-
nix-update glitchtip.frontend
0
0
0
0
···
1
#!/usr/bin/env nix-shell
2
+
#!nix-shell -i bash -p curl jq nix-update
3
4
+
set -eou pipefail
5
+
6
+
version=$(curl ${GITLAB_TOKEN:+-H "Private-Token: $GITLAB_TOKEN"} -sL https://gitlab.com/api/v4/projects/15450933/repository/tags | jq -r '.[0].name')
7
+
8
+
nix-update --version="$version" glitchtip
9
+
nix-update --version="$version" glitchtip.frontend