Skip to content
Snippets Groups Projects
Unverified Commit 0126439d authored by Adin Hodovic's avatar Adin Hodovic Committed by GitHub
Browse files

build: Use sort -n for automated version bumps (#2261)

parent c11e9d93
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,8 @@ get_version() { ...@@ -34,8 +34,8 @@ get_version() {
fi fi
# Use higher version from new version and current version # Use higher version from new version and current version
v=$(printf '%s\n' "$v" "$cv" | sort -r | head -n1) v=$(printf '%s\n' "$v" "$cv" | sort -n -r | head -n1)
echo "$v" echo "$v"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment