Skip to content

Commit aca2499

Browse files
authored
radicle-node: fix update script (#437654)
2 parents 6bd1d83 + 75fe7db commit aca2499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env nix-shell
2-
#!nix-shell -i bash -p coreutils gnused common-updater-scripts nix-update
2+
#!nix-shell -i bash -p coreutils gnugrep common-updater-scripts nix-update
33

4-
version=$(list-git-tags | tail -1 | sed 's|^releases/||')
4+
version=$(list-git-tags | grep -oP '^releases/\K\d+\.\d+\.\d+$' | sort -rV | head -1)
55
nix-update --version="$version" radicle-node

0 commit comments

Comments
 (0)