Skip to content

Commit

Permalink
build: Use sort -n for automated version bumps
Browse files Browse the repository at this point in the history
Signed-off-by: adinhodovic <[email protected]>
  • Loading branch information
adinhodovic committed Nov 7, 2023
1 parent c11e9d9 commit 7913e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ get_version() {
fi

# 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"
}

Expand Down

0 comments on commit 7913e3f

Please sign in to comment.