From 2f874ace51aafea39dd78bf24e2bbe7cd1bba35e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 1 Jan 2026 10:48:32 +0000 Subject: [PATCH] Add comment clarifying sort -V usage Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com> --- .github/workflows/nuget-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nuget-release.yml b/.github/workflows/nuget-release.yml index 9dce08e6..c2641089 100644 --- a/.github/workflows/nuget-release.yml +++ b/.github/workflows/nuget-release.yml @@ -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"