diff --git a/go.mod b/go.mod index 729838066..8ef945d69 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/drone/drone-go v1.4.1-0.20201109202657-b9e58bbbcf27 github.com/drone/drone-runtime v1.1.1-0.20200623162453-61e33e2cab5d - github.com/drone/drone-ui v0.0.0-20210331233327-772f24b7f519 + github.com/drone/drone-ui v0.0.0-20210427231613-96a9f6e17fb7 github.com/drone/drone-yaml v1.2.4-0.20200326192514-6f4d6dfb39e4 github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629 github.com/drone/go-license v1.0.2 diff --git a/go.sum b/go.sum index 59b913651..b1ae1312a 100644 --- a/go.sum +++ b/go.sum @@ -112,6 +112,8 @@ github.com/drone/drone-ui v0.0.0-20210324203842-aaae3627e294 h1:ifbOWfDF/4zNxXW6 github.com/drone/drone-ui v0.0.0-20210324203842-aaae3627e294/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI= github.com/drone/drone-ui v0.0.0-20210331233327-772f24b7f519 h1:zEPxQwLA/dI6sQ9htLPWcDT+EKms09w4TSAYk1lOQiA= github.com/drone/drone-ui v0.0.0-20210331233327-772f24b7f519/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI= +github.com/drone/drone-ui v0.0.0-20210427231613-96a9f6e17fb7 h1:EUvu5J51N2diuFqLjFTiu65m0EK0TlLD66qDyi43tVE= +github.com/drone/drone-ui v0.0.0-20210427231613-96a9f6e17fb7/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI= github.com/drone/drone-yaml v1.2.4-0.20200326192514-6f4d6dfb39e4 h1:XsstoCeXC2t8lA9OLTdoFwckaptqahxwjCWsenySfX8= github.com/drone/drone-yaml v1.2.4-0.20200326192514-6f4d6dfb39e4/go.mod h1:QsqliFK8nG04AHFN9tTn9XJomRBQHD4wcejWW1uz/10= github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629 h1:rIaZZalMGGPb2cU/+ypuggZ8aMlpa17RUlJUtsMv8pw= diff --git a/version/version.go b/version/version.go index 2a7aef84b..c36678cd1 100644 --- a/version/version.go +++ b/version/version.go @@ -23,11 +23,11 @@ var ( // GitCommit is the git commit that was compiled GitCommit string // VersionMajor is for an API incompatible changes. - VersionMajor int64 = 1 + VersionMajor int64 = 2 // VersionMinor is for functionality in a backwards-compatible manner. - VersionMinor int64 = 10 + VersionMinor int64 // VersionPatch is for backwards-compatible bug fixes. - VersionPatch int64 = 1 + VersionPatch int64 // VersionPre indicates prerelease. VersionPre = "" // VersionDev indicates development branch. Releases will be empty string. diff --git a/version/version_test.go b/version/version_test.go index 2b7787161..bdfa7ea85 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -9,7 +9,7 @@ package version import "testing" func TestVersion(t *testing.T) { - if got, want := Version.String(), "1.10.1"; got != want { + if got, want := Version.String(), "2.0.0"; got != want { t.Errorf("Want version %s, got %s", want, got) } }