Skip to content

Commit

Permalink
fix kubelet version for emp
Browse files Browse the repository at this point in the history
  • Loading branch information
OmkarDeshpande7 committed Oct 17, 2023
1 parent b330e8b commit 450bc59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .ci/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
source ~/.bashrc
GO_VERSION=${GO_VERSION:-1.19}
VERSION=$(git describe --tags --abbrev=0)
MAJOR_MINOR_PATCH=$(echo $VERSION | cut -d'-' -f1)
BUILD_NUMBER=${BUILD_NUMBER:-000}

configure_go() {
if [ -n "${USE_SYSTEM_GO:-}" ] ; then
Expand All @@ -15,4 +18,4 @@ configure_go() {

configure_go

KUBE_BUILD_PLATFORMS=linux/amd64 make all WHAT=cmd/kubelet GOFLAGS=-v
make WHAT=cmd/kubelet KUBE_GIT_VERSION=$MAJOR_MINOR_PATCH-emp.$BUILD_NUMBER KUBE_GIT_COMMIT=$(git rev-parse HEAD) KUBE_GIT_TREE_STATE="clean" GOFLAGS=-v

0 comments on commit 450bc59

Please sign in to comment.