From 35199c38ec47a6e3ab1a94aa55bf5b2c3b665f52 Mon Sep 17 00:00:00 2001 From: Imran M Yousuf Date: Tue, 9 Feb 2021 16:34:43 -0500 Subject: [PATCH] Prepare v0.1.0-beta-2 release Signed-off-by: Imran M Yousuf --- .github/workflows/release.yml | 2 +- config/config.go | 2 +- deploy-pkg/webhook-broker-chart/Chart.yaml | 4 ++-- deploy-pkg/webhook-broker-chart/values.yaml | 2 +- main_test.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d860b11..4c70b8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Run Test & Build - run: make dep-tools deps ci-test build + run: make os-deps dep-tools deps ci-test build env: APP_VERSION: ${{ steps.get_version.outputs.VERSION }} - name: Upload build artifact diff --git a/config/config.go b/config/config.go index 5f52752..4b8bafa 100644 --- a/config/config.go +++ b/config/config.go @@ -34,7 +34,7 @@ type LogLevel uint8 // GetVersion provides the current version of the project func GetVersion() AppVersion { - return "0.1.0-dev" + return "0.1.0-beta-2" } const ( diff --git a/deploy-pkg/webhook-broker-chart/Chart.yaml b/deploy-pkg/webhook-broker-chart/Chart.yaml index 242217d..c4aebf9 100644 --- a/deploy-pkg/webhook-broker-chart/Chart.yaml +++ b/deploy-pkg/webhook-broker-chart/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0-dev +version: 0.1.0-beta-2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: v0.1.0-dev +appVersion: v0.1.0-beta-2 keywords: - webhook diff --git a/deploy-pkg/webhook-broker-chart/values.yaml b/deploy-pkg/webhook-broker-chart/values.yaml index 14a87bd..a06f9c9 100644 --- a/deploy-pkg/webhook-broker-chart/values.yaml +++ b/deploy-pkg/webhook-broker-chart/values.yaml @@ -8,7 +8,7 @@ image: repository: registry.hub.docker.com/imyousuf/webhook-broker pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. - tag: "latest" + tag: "v0.1.0-beta-2" imagePullSecrets: [] nameOverride: "" diff --git a/main_test.go b/main_test.go index 6bc7cb8..d4e3cd1 100644 --- a/main_test.go +++ b/main_test.go @@ -38,7 +38,7 @@ const ( ) func TestGetAppVersion(t *testing.T) { - assert.Equal(t, string(GetAppVersion()), "0.1.0-dev") + assert.Equal(t, string(GetAppVersion()), "0.1.0-beta-2") } var mainFunctionBreaker = func(stop *chan os.Signal) {