From a9fff7da48219225ee36211281849af9817f0b6f Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Mon, 26 Oct 2020 12:03:08 -0400 Subject: [PATCH] Release 2.0.1 of odo (#4152) **What type of PR is this?** > Uncomment only one ` /kind` line, and delete the rest. > For example, `> /kind bug` would simply become: `/kind bug` /kind feature **What does does this PR do / why we need it**: Releases 2.0.1 of odo **Which issue(s) this PR fixes**: N/A **PR acceptance criteria**: N/A **How to test changes / Special notes to the reviewer**: N/A Signed-off-by: Charlie Drage --- 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 b79a6e9c572..80747f65388 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.0.0 +LABEL version=2.0.1 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 ea0ffc177f2..6db370ecb81 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.0.0" + VERSION = "v2.0.1" // 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 9f7bcdfea8c..f6c63bfa529 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.0.0} +export ODO_VERSION=${ODO_VERSION:=2.0.1} export ODO_RELEASE=${ODO_RELEASE:=1} export GIT_COMMIT=${GIT_COMMIT:=`git rev-parse --short HEAD 2>/dev/null`}