From be168093b414086e92a252c1b5178446c9408152 Mon Sep 17 00:00:00 2001 From: xodial Date: Thu, 9 Jan 2025 20:50:06 -0600 Subject: [PATCH] chore: fix release workflow tag step --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 969e699..81cfdb2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,9 +30,8 @@ jobs: - name: 🔎 Read Current Project Version id: current-version - uses: WyriHaximus/github-action-get-previous-tag@v1 - with: - fallback: "0.0.0-devbuild" + run: | + echo "tag=$(git tag --sort=v:refname | grep -E '^[^v]' | tail -1)" >> "$GITHUB_OUTPUT" - name: 🖨 Print Current Version run: |