Skip to content

Commit 31cd927

Browse files
committed
GO_VERSION lookup fixed
1 parent 36624f9 commit 31cd927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ jobs:
3131
3232
GIT_TAG="$(./mdq -o json "#" CHANGELOG.md | jq -r .items[0].section.body[0].section.title)"
3333
GIT_COMMIT="$(git rev-parse HEAD)"
34+
GO_VERSION="$(go list -f {{.GoVersion}} -m)"
3435
echo "GIT_TAG=${GIT_TAG}" >> "$GITHUB_ENV"
3536
echo "GIT_COMMIT=${GIT_COMMIT}" >> "$GITHUB_ENV"
37+
echo "GO_VERSION=${GO_VERSION}" >> "$GITHUB_ENV"
3638
- name: 'validate env vars'
3739
shell: 'bash'
3840
run: |

0 commit comments

Comments
 (0)