bump version and changelog for 1.2 release

This commit is contained in:
Brad Rydzewski 2019-05-30 10:54:36 -07:00
parent abca9be58e
commit 40ed27a001
5 changed files with 11 additions and 3 deletions

View file

@ -7,11 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
### Fixed
## [1.2.0] - 2019-05-30
### Added
- endpoint to trigger new build for default branch, by [@bradrydzewski](https://github.com/bradrydzewski). [#2679](https://github.com/drone/drone/issues/2679).
- endpoint to trigger new build for branch, by [@bradrydzewski](https://github.com/bradrydzewski). [#2679](https://github.com/drone/drone/issues/2679).
- endpoint to trigger new build for branch and sha, by [@bradrydzewski](https://github.com/bradrydzewski). [#2679](https://github.com/drone/drone/issues/2679).
- enable optional prometheus metrics guest access, by [@janberktold](https://github.com/janberktold)
- fallback to database when logs not found in s3, by [@bradrydzewski](https://github.com/bradrydzewski). [#2689](https://github.com/drone/drone/issues/2689).
- support for custom stage definitions and runners, by [@bradrydzewski](https://github.com/bradrydzewski). [#2680](https://github.com/drone/drone/issues/2680).
- update drone-yaml to version 1.1.0
### Fixed

2
go.mod
View file

@ -17,7 +17,7 @@ require (
github.com/docker/go-units v0.3.3
github.com/drone/drone-go v1.0.5-0.20190427184118-618e4496482e
github.com/drone/drone-runtime v1.0.6
github.com/drone/drone-ui v0.0.0-20190423061913-b758d7bee2eb
github.com/drone/drone-ui v0.0.0-20190530175131-92ba3df1e0a9
github.com/drone/drone-yaml v1.1.0
github.com/drone/envsubst v1.0.1
github.com/drone/go-license v1.0.2

2
go.sum
View file

@ -54,6 +54,8 @@ github.com/drone/drone-ui v0.0.0-20190318215801-d6c3d11a1c3f h1:yMdZ/2BZFKrfMbWl
github.com/drone/drone-ui v0.0.0-20190318215801-d6c3d11a1c3f/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI=
github.com/drone/drone-ui v0.0.0-20190423061913-b758d7bee2eb h1:hnCQP2OKc4Bt6rbAVd68GpN+MuowFs9qQS5ECXUWw9M=
github.com/drone/drone-ui v0.0.0-20190423061913-b758d7bee2eb/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI=
github.com/drone/drone-ui v0.0.0-20190530175131-92ba3df1e0a9 h1:a3TcWx6wQRzNGGpOZWNBn9LzmKAyr8NZS2lcdVyYhA8=
github.com/drone/drone-ui v0.0.0-20190530175131-92ba3df1e0a9/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI=
github.com/drone/drone-ui v0.8.1 h1:I4WBAlnk/YQzCggQy/Qegb8Nu2T2R9KVzxso/lL98so=
github.com/drone/drone-yaml v1.0.4 h1:NYTEGhf/XJMiJT8CwGy+pMOxWC8C2vhhzEo6/gbT4tU=
github.com/drone/drone-yaml v1.0.4/go.mod h1:eM365p3g9M5sroFBTR/najiGrZnd/GiIpWHC2UW8PoI=

View file

@ -25,7 +25,7 @@ var (
// VersionMajor is for an API incompatible changes.
VersionMajor int64 = 1
// VersionMinor is for functionality in a backwards-compatible manner.
VersionMinor int64 = 1
VersionMinor int64 = 2
// VersionPatch is for backwards-compatible bug fixes.
VersionPatch int64
// VersionPre indicates prerelease.

View file

@ -9,7 +9,7 @@ package version
import "testing"
func TestVersion(t *testing.T) {
if got, want := Version.String(), "1.1.0"; got != want {
if got, want := Version.String(), "1.2.0"; got != want {
t.Errorf("Want version %s, got %s", want, got)
}
}