diff --git a/go.mod b/go.mod index adf673e32..2ad59a13a 100644 --- a/go.mod +++ b/go.mod @@ -10,8 +10,8 @@ require ( github.com/frankban/quicktest v1.7.2 // indirect github.com/gin-gonic/gin v1.5.0 github.com/go-redis/redis v6.15.6+incompatible - github.com/go-vela/compiler v0.4.1 - github.com/go-vela/types v0.4.1 + github.com/go-vela/compiler v0.4.2 + github.com/go-vela/types v0.4.2 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 c2a1bf3cd..894486efb 100644 --- a/go.sum +++ b/go.sum @@ -88,10 +88,10 @@ github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZp github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= 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.4.1 h1:mGjwIgyoDTDRr9j1OdMk5Bbw8GK+QZ/JsPjoGuy5FWM= -github.com/go-vela/compiler v0.4.1/go.mod h1:e8DKedX+jeToGKGFjbU+mLrGVOlYf9YHVHPpjPjnNKc= -github.com/go-vela/types v0.4.1 h1:XLRkvcLTr6wTUR2tz5sUYWCyDnIs5j5zdfN+4aCaScM= -github.com/go-vela/types v0.4.1/go.mod h1:ig7fC+MKGsgAlKqovkFsUQlbZtLDLhl/djiedHmsL5s= +github.com/go-vela/compiler v0.4.2 h1:Qf0GL9OuhvfFGiI4kgHI9vyNhV44HCGHsY/S+rc7r3M= +github.com/go-vela/compiler v0.4.2/go.mod h1:v/Ey7edOBwldinSrm9srTpZzrJ2TK0KT0AuXtE7Z7A4= +github.com/go-vela/types v0.4.2 h1:PO8IXVwMkDjp/07hXuLn7PkGVb3YkOQz1SP1H2QtCEc= +github.com/go-vela/types v0.4.2/go.mod h1:ig7fC+MKGsgAlKqovkFsUQlbZtLDLhl/djiedHmsL5s= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= @@ -407,8 +407,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/router/middleware/header_test.go b/router/middleware/header_test.go index b5c38e1c0..72b7f3f54 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.4.1" + wantVersion := "0.4.2" // 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.4.1" + wantVersion := "0.4.2" // 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.4.1" + wantVersion := "0.4.2" // 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.4.1" + wantVersion := "0.4.2" // setup context gin.SetMode(gin.TestMode) diff --git a/version/version.go b/version/version.go index 33a4ec6ba..ff48fd927 100644 --- a/version/version.go +++ b/version/version.go @@ -12,7 +12,7 @@ var ( // VersionMinor is for functionality in a backwards-compatible manner VersionMinor int64 = 4 // VersionPatch is for backwards-compatible bug fixes - VersionPatch int64 = 1 + VersionPatch int64 = 2 // VersionDev indicates build metadata. Releases will be empty string. VersionDev string )