From 4ea9a97c7ae9b0fe04e732af6f256b3af00df287 Mon Sep 17 00:00:00 2001 From: Joanna May Date: Tue, 28 May 2024 01:19:58 -0500 Subject: [PATCH] fix: sort tags by version --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ba2606b..048cbf3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,7 @@ jobs: - name: 🔎 Read Latest Project Version id: current-version run: | - echo "tag=$(git tag --sort=committerdate | tail -1)" >> "$GITHUB_OUTPUT" + echo "tag=$(git tag --sort=v:refname | tail -1)" >> "$GITHUB_OUTPUT" - name: 🖨 Print Current Version run: |