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 }}