From e271bb73172057967a3f1bf89fa28a70be8128f1 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Fri, 4 Oct 2024 20:20:49 +0100 Subject: [PATCH] Fix pipeline --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 89741b83..80ad0305 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,7 +40,9 @@ jobs: - name: Get version id: version - run: echo VERSION=sha-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT + run: echo VERSION=$(git describe --exact-match --tags | sed 's/^v//') >> $GITHUB_OUTPUT + + - run echo ${{ steps.version.outputs.VERSION }} - name: Build packages run: make packages VERSION=${{ steps.version.outputs.VERSION }}