We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08f1c9 commit 8ed951fCopy full SHA for 8ed951f
.github/workflows/weekly-go-version-check.yaml
@@ -34,7 +34,8 @@ jobs:
34
- name: Get latest go patch version
35
id: patch-version
36
run: |
37
- echo "GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text)" >> $GITHUB_ENV
+ echo "GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text | sed -n 's/^go\([0-9.]*\).*/\1/p')" >> $GITHUB_ENV
38
+ echo "${{ env.GO_PATCH_VERSION }}"
39
sed -i 's/GO_VERSION=[0-9\.]*/GO_VERSION=${{ env.GO_PATCH_VERSION }}/' Makefile
40
sed -i 's/golang:[0-9\.]*/golang:${{ env.GO_PATCH_VERSION }}/' Tiltfile
41
echo "${{ env.GO_PATCH_VERSION }}"
0 commit comments