diff --git a/go.mod b/go.mod index c2efc47d6..8c59bd91d 100644 --- a/go.mod +++ b/go.mod @@ -9,8 +9,8 @@ require ( github.com/frankban/quicktest v1.7.2 // indirect github.com/gin-gonic/gin v1.6.3 github.com/go-redis/redis v6.15.8+incompatible - github.com/go-vela/compiler v0.5.0 - github.com/go-vela/types v0.5.0 + github.com/go-vela/compiler v0.5.1 + github.com/go-vela/types v0.5.1 github.com/google/go-github/v29 v29.0.3 github.com/google/uuid v1.1.1 github.com/hashicorp/go-hclog v0.10.0 // indirect diff --git a/go.sum b/go.sum index bcf406217..715c79fe7 100644 --- a/go.sum +++ b/go.sum @@ -84,10 +84,10 @@ github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gG github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= -github.com/go-vela/compiler v0.5.0 h1:Gbi84v+Z4X9RskhalXAzsqmuAmbLpYxyShtSqvY8zrw= -github.com/go-vela/compiler v0.5.0/go.mod h1:TJq4UwuW+I1RpcGqP3lkwCtch9KlGIzX32KJDgtKOkU= -github.com/go-vela/types v0.5.0 h1:f89RiP21e+5QuLeugyhOXIOF+oEPJLndX7lkE5tNOjQ= -github.com/go-vela/types v0.5.0/go.mod h1:G1Qp0JFtXV+QRNTEWXht+WdllOhjAGapg9vBZKdj6N0= +github.com/go-vela/compiler v0.5.1 h1:5H6oH4wisqnTEBTo3EizYsfMAqlWF0xgM1r8LM4ZVfc= +github.com/go-vela/compiler v0.5.1/go.mod h1:y5EDX+5NFs3AHqzIe/ShdX/fh6nraJVqwxv9x3sW8ho= +github.com/go-vela/types v0.5.1 h1:ZIOg+m+awjw2GN507MwUXINAR43+B/w2pSQT9EEm/UM= +github.com/go-vela/types v0.5.1/go.mod h1:G1Qp0JFtXV+QRNTEWXht+WdllOhjAGapg9vBZKdj6N0= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index ac0fb423a..e8146ddcc 100644 --- a/router/middleware/header_test.go +++ b/router/middleware/header_test.go @@ -293,7 +293,7 @@ func TestMiddleware_Secure_TLS(t *testing.T) { func TestMiddleware_RequestVersion(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.5.1" // setup context gin.SetMode(gin.DebugMode) @@ -324,7 +324,7 @@ func TestMiddleware_RequestVersion(t *testing.T) { func TestMiddleware_RequestVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.5.1" // setup context gin.SetMode(gin.TestMode) @@ -355,7 +355,7 @@ func TestMiddleware_RequestVersion_Prod(t *testing.T) { func TestMiddleware_ResponseVersion(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.5.1" // setup context gin.SetMode(gin.DebugMode) @@ -386,7 +386,7 @@ func TestMiddleware_ResponseVersion(t *testing.T) { func TestMiddleware_ResponseVersion_Prod(t *testing.T) { // setup types - wantVersion := "0.5.0" + wantVersion := "0.5.1" // setup context gin.SetMode(gin.TestMode) diff --git a/version/version.go b/version/version.go index fe6511ee9..d997baf2b 100644 --- a/version/version.go +++ b/version/version.go @@ -7,12 +7,12 @@ package version import "github.com/coreos/go-semver/semver" var ( - // VersionMajor is for an API incompatible changes + // VersionMajor is for an API incompatible changes. VersionMajor int64 - // VersionMinor is for functionality in a backwards-compatible manner + // VersionMinor is for functionality in a backwards-compatible manner. VersionMinor int64 = 5 - // VersionPatch is for backwards-compatible bug fixes - VersionPatch int64 + // VersionPatch is for backwards-compatible bug fixes. + VersionPatch int64 = 1 // VersionDev indicates build metadata. Releases will be empty string. VersionDev string )