Skip to content

Commit

Permalink
update dockerbuild latest version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
romw314 committed Jun 24, 2024
1 parent 51d4d86 commit 13f383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fi

readonly dryrun all

readonly latestver="v$(git tag --list | grep -E 'v[0-9]+' | cut -dv -f2 | sort -n | head -n1)"
readonly latestver="v$(git tag --list | grep -E 'v[0-9]+' | cut -dv -f2 | sort -nr | head -n1)"

declare -a images

Expand Down

0 comments on commit 13f383e

Please sign in to comment.