diff --git a/CHANGELOG.md b/CHANGELOG.md index a959a728..5314d535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - updated autocert library in support of acme v2 protocol, by [@bradrydzewski](https://github.com/bradrydzewski). +### Fixed +- fixed nil pointer when manually adding user from api, by [@bradrydzewski](https://github.com/bradrydzewski). + ## [1.6.0] - 2019-10-04 ### Added - added nsswitch to docker images diff --git a/go.mod b/go.mod index 50567b2d..d91f96c1 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/drone/drone-go v1.0.6 github.com/drone/drone-runtime v1.1.0 github.com/drone/drone-ui v0.0.0-20191004020100-87de5a7c28a9 - github.com/drone/drone-yaml v1.2.3-0.20190924213155-be6b37e0b4cd + github.com/drone/drone-yaml v1.2.3-0.20191031071139-9036725284d3 github.com/drone/envsubst v1.0.1 github.com/drone/go-license v1.0.2 github.com/drone/go-login v1.0.4-0.20190311170324-2a4df4f242a2 diff --git a/go.sum b/go.sum index 79b1b19d..351aecca 100644 --- a/go.sum +++ b/go.sum @@ -130,6 +130,8 @@ github.com/drone/drone-yaml v1.2.3-0.20190902155851-ad8ad9816fbf h1:/devrXEXhpmO github.com/drone/drone-yaml v1.2.3-0.20190902155851-ad8ad9816fbf/go.mod h1:QsqliFK8nG04AHFN9tTn9XJomRBQHD4wcejWW1uz/10= github.com/drone/drone-yaml v1.2.3-0.20190924213155-be6b37e0b4cd h1:xbC7iwsybaLuCyjxv7Rf3L+OxqeqJgLDezeg0oTx3iw= github.com/drone/drone-yaml v1.2.3-0.20190924213155-be6b37e0b4cd/go.mod h1:QsqliFK8nG04AHFN9tTn9XJomRBQHD4wcejWW1uz/10= +github.com/drone/drone-yaml v1.2.3-0.20191031071139-9036725284d3 h1:tUvugKpWy7VSClNaRbt14XxebGWDmkethAgJPrfu+1M= +github.com/drone/drone-yaml v1.2.3-0.20191031071139-9036725284d3/go.mod h1:QsqliFK8nG04AHFN9tTn9XJomRBQHD4wcejWW1uz/10= github.com/drone/envsubst v1.0.1 h1:NOOStingM2sbBwsIUeQkKUz8ShwCUzmqMxWrpXItfPE= github.com/drone/envsubst v1.0.1/go.mod h1:bkZbnc/2vh1M12Ecn7EYScpI4YGYU0etwLJICOWi8Z0= github.com/drone/go-license v1.0.2 h1:7OwndfYk+Lp/cGHkxe4HUn/Ysrrw3WYH2pnd99yrkok= diff --git a/version/version.go b/version/version.go index 556b088f..ba8a35d9 100644 --- a/version/version.go +++ b/version/version.go @@ -27,7 +27,7 @@ var ( // VersionMinor is for functionality in a backwards-compatible manner. VersionMinor int64 = 6 // VersionPatch is for backwards-compatible bug fixes. - VersionPatch int64 + VersionPatch int64 = 1 // 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 ac324c8b..6ae5b634 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.6.0"; got != want { + if got, want := Version.String(), "1.6.1"; got != want { t.Errorf("Want version %s, got %s", want, got) } }