We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a4f3c commit 9724a1dCopy full SHA for 9724a1d
.github/workflows/release.yml
@@ -27,6 +27,10 @@ jobs:
27
with:
28
fetch-depth: 0
29
30
+ - name: Set BUILDVERSION env var
31
+ id: buildversion
32
+ run: echo "BUILDVERSION=$(git describe --tags --always)" >> $GITHUB_ENV
33
+
34
- name: Setup Go env
35
uses: actions/setup-go@v5
36
@@ -47,3 +51,4 @@ jobs:
47
51
env:
48
52
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49
53
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
54
+ BUILDVERSION: ${{ env.BUILDVERSION }}
0 commit comments