Skip to content

Commit

Permalink
set proper version for vela
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp committed Nov 8, 2019
1 parent d1cdd5d commit d9834c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions router/middleware/header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,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()
Expand Down Expand Up @@ -293,7 +293,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()
Expand Down Expand Up @@ -323,7 +323,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()
Expand Down Expand Up @@ -353,7 +353,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()
Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit d9834c3

Please sign in to comment.