Skip to content

Commit ba88f51

Browse files
authored
Merge pull request #3388 from dims/create-a-temp-commit-for-the-goversion-edit
Create a temp commit for the .go-version edit
2 parents 6ab9fa1 + a0687a8 commit ba88f51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

golang/build-kubernetes.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ function build_kubernetes {
2727
# Ensure we build against latest golang version.
2828
echo -n "devel" > .go-version
2929

30+
# Create a temp commit
31+
git add .
32+
git config user.email "[email protected]"
33+
git config user.name "Test Name"
34+
git commit -m "Switch .go-version to 'devel'"
35+
3036
# Build Kubernetes using our kube-cross image.
3137
# Also pass GOTOOLCHAIN=local to make sure kube-build
3238
# uses the golang version built locally in build-go.sh.

0 commit comments

Comments
 (0)