From b0b2480dccd8ecfe761583b550647f315a958abe Mon Sep 17 00:00:00 2001 From: Dharmit Shah Date: Mon, 11 Oct 2021 22:09:13 +0530 Subject: [PATCH] Bump version to 2.4.0 (#5136) --- Dockerfile.rhel | 2 +- pkg/version/version.go | 2 +- scripts/rpm-prepare.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.rhel b/Dockerfile.rhel index dcf3c876aca..3f4394d6746 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -16,7 +16,7 @@ LABEL com.redhat.component=atomic-openshift-odo-cli-artifacts-container \ summary="This image contains the Linux, Mac and Windows version of odo" # Change version as needed. Note no "-" is allowed -LABEL version=2.3.1 +LABEL version=2.4.0 COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/darwin-amd64/odo /usr/share/openshift/odo/mac/odo COPY --from=builder /go/src/github.com/openshift/odo/dist/bin/windows-amd64/odo.exe /usr/share/openshift/odo/windows/odo.exe diff --git a/pkg/version/version.go b/pkg/version/version.go index 6c06dbc97df..a8fe14b0be5 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -12,7 +12,7 @@ Changing these values will change the versioning information when releasing odo. var ( // VERSION is version number that will be displayed when running ./odo version - VERSION = "v2.3.1" + VERSION = "v2.4.0" // GITCOMMIT is hash of the commit that will be displayed when running ./odo version // this will be overwritten when running build like this: go build -ldflags="-X github.com/openshift/odo/cmd.GITCOMMIT=$(GITCOMMIT)" diff --git a/scripts/rpm-prepare.sh b/scripts/rpm-prepare.sh index 4cc0c41c9d0..d0deb902d57 100755 --- a/scripts/rpm-prepare.sh +++ b/scripts/rpm-prepare.sh @@ -5,7 +5,7 @@ set +ex echo "Reading ODO_VERSION, ODO_RELEASE and GIT_COMMIT env, if they are set" # Change version as needed. In most cases ODO_RELEASE would not be touched unless # we want to do a re-lease of same version as we are not backporting -export ODO_VERSION=${ODO_VERSION:=2.3.1} +export ODO_VERSION=${ODO_VERSION:=2.4.0} export ODO_RELEASE=${ODO_RELEASE:=1} export GIT_COMMIT=${GIT_COMMIT:=`git rev-parse --short HEAD 2>/dev/null`}