Add comment clarifying sort -V usage

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-01 10:48:32 +00:00
parent 2feabed297
commit 2f874ace51

View File

@@ -32,6 +32,7 @@ jobs:
echo "Building tagged release version: $VERSION"
else
# Not tagged - create prerelease version based on last tag
# Note: sort -V (version sort) is available in GNU coreutils on ubuntu-latest
LAST_TAG=$(git tag --list '[0-9]*.[0-9]*.[0-9]*' | sort -V | tail -1)
if [[ -z "$LAST_TAG" ]]; then
LAST_TAG="0.0.0"