Skip to content

Commit 4e1bfcd

Browse files
committed
cherry-pick #4636
since it was not the one used
1 parent efa7ebf commit 4e1bfcd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.ci/updatecli/updatecli-bump-golang.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,21 @@ targets:
124124
- Dockerfile
125125
- Dockerfile.skaffold
126126
matchpattern: 'ARG GO_VERSION=\d+.\d+.\d+'
127-
update-gomod:
128-
name: "Update go.mod"
127+
update-gomod-minor-version:
128+
name: "Update go.mod minor version"
129129
sourceid: gomod
130130
scmid: githubConfig
131131
kind: file
132132
spec:
133133
content: 'go {{ source "gomod" }}'
134134
file: go.mod
135135
matchpattern: 'go \d+.\d+'
136+
update-gomod-toolchain-version:
137+
name: "Update go.mod toolchain version"
138+
sourceid: latestGoVersion
139+
scmid: githubConfig
140+
kind: file
141+
spec:
142+
content: 'toolchain go{{ source "latestGoVersion" }}'
143+
file: go.mod
144+
matchpattern: 'toolchain go\d+.\d+.\d+'

0 commit comments

Comments
 (0)