From 0641aab1462055a55c92fda38a1a8527c8ad8a9d Mon Sep 17 00:00:00 2001 From: Thuan Vo Date: Fri, 1 Nov 2024 18:09:46 -0700 Subject: [PATCH] chore: set version for release v1.2.0 Signed-off-by: Thuan Vo --- Makefile | 2 +- pkg/version/version_generated.go | 2 +- pkg/version/version_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ad2bd15..ec02515 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GOARCH ?= $(shell go env GOARCH) ## Plugin version. Bump for each release -VERSION ?= 1.3.0-dev +VERSION ?= 1.2.0 # Git Commit ID # GIT_COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true) # GIT_COMMIT_ID := $(if $(shell git status --porcelain --untracked-files=no),$(GIT_COMMIT_NO)-dirty,$(GIT_COMMIT_NO)) diff --git a/pkg/version/version_generated.go b/pkg/version/version_generated.go index 8fc5cd3..ec27ddb 100644 --- a/pkg/version/version_generated.go +++ b/pkg/version/version_generated.go @@ -3,5 +3,5 @@ package version const ( // Version of the plugin - version string = "v1.3.0-dev" + version string = "v1.2.0" ) diff --git a/pkg/version/version_test.go b/pkg/version/version_test.go index 2a2a4ec..fa7d9c6 100644 --- a/pkg/version/version_test.go +++ b/pkg/version/version_test.go @@ -27,7 +27,7 @@ var _ = Describe("Version", func() { Expect(actual).ToNot(BeNil()) // NOTE: Bump version for release - Expect(actual.Version).To(Equal("v1.3.0-dev")) + Expect(actual.Version).To(Equal("v1.2.0")) }) }) })