From 8b5eed9156b1716b63a74be304bbc7724ba53bbf Mon Sep 17 00:00:00 2001 From: Jordan Brockopp Date: Fri, 8 Nov 2019 08:55:44 -0600 Subject: [PATCH] set proper version for vela --- router/middleware/header_test.go | 8 ++++---- version/version.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index f8c22d896..db4c4dfd4 100644 --- a/router/middleware/header_test.go +++ b/router/middleware/header_test.go @@ -287,7 +287,7 @@ func TestMiddleware_Secure_TLS(t *testing.T) { func TestMiddleware_RequestVersion(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.1.1" // setup context resp := httptest.NewRecorder() @@ -317,7 +317,7 @@ func TestMiddleware_RequestVersion(t *testing.T) { func TestMiddleware_RequestVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.1.1" // setup context resp := httptest.NewRecorder() @@ -347,7 +347,7 @@ func TestMiddleware_RequestVersion_Prod(t *testing.T) { func TestMiddleware_ResponseVersion(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.1.1" // setup context resp := httptest.NewRecorder() @@ -377,7 +377,7 @@ func TestMiddleware_ResponseVersion(t *testing.T) { func TestMiddleware_ResponseVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.1.1" // setup context resp := httptest.NewRecorder() diff --git a/version/version.go b/version/version.go index 98fd28d46..c43c97532 100644 --- a/version/version.go +++ b/version/version.go @@ -10,9 +10,9 @@ var ( // VersionMajor is for an API incompatible changes VersionMajor int64 // VersionMinor is for functionality in a backwards-compatible manner - VersionMinor int64 = 5 + VersionMinor int64 = 1 // VersionPatch is for backwards-compatible bug fixes - VersionPatch int64 + VersionPatch int64 = 1 // VersionDev indicates drone build number. Releases will be empty string. VersionDev string )