Skip to content
Snippets Groups Projects
Commit 39ca5d5a authored by jurgenhaas's avatar jurgenhaas
Browse files

#69 Fix selfupdate to grab the correct latest tag

parent 51405fe3
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
if [[ -n $1 ]]; then
NEWVERSION=$1
else
NEWVERSION=$(curl -s https://gitlab.lakedrops.com/api/v4/projects/282/repository/tags | jq -r .[0].name)
NEWVERSION=$(curl -s "https://gitlab.lakedrops.com/api/v4/projects/282/repository/tags?order_by=updated&search=^v" | jq -r .[0].name)
fi
if [[ "$NEWVERSION" == "$VERSION" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment