mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-23 15:34:34 +00:00
Add comment clarifying sort -V usage
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
1
.github/workflows/nuget-release.yml
vendored
1
.github/workflows/nuget-release.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user