diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82497ccb2..a4dd82e90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,10 @@ jobs: with: fetch-depth: 0 + - name: Set BUILDVERSION env var + id: buildversion + run: echo "BUILDVERSION=$(git describe --tags --always)" >> $GITHUB_ENV + - name: Setup Go env uses: actions/setup-go@v5 with: @@ -47,3 +51,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} + BUILDVERSION: ${{ env.BUILDVERSION }}