From 8e0b1677075b65c61cb773be8a0f16ed8e3488bb Mon Sep 17 00:00:00 2001 From: Eoin McAfee Date: Thu, 19 Aug 2021 14:20:05 +0100 Subject: [PATCH 1/3] add change log --- .github_changelog_generator | 1 + CHANGELOG.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github_changelog_generator create mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator new file mode 100644 index 0000000..c091201 --- /dev/null +++ b/.github_changelog_generator @@ -0,0 +1 @@ +since-tag=v1.6.0 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0e7f4e0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +## [Unreleased](https://github.com/drone/drone-go/tree/HEAD) + +[Full Changelog](https://github.com/drone/drone-go/compare/v1.6.0...HEAD) + +**Merged pull requests:** + +- update create template api to access namespace as a param [\#62](https://github.com/drone/drone-go/pull/62) ([eoinmcafee00](https://github.com/eoinmcafee00)) +- Template type for supporting CLI commands [\#61](https://github.com/drone/drone-go/pull/61) ([eoinmcafee00](https://github.com/eoinmcafee00)) +- Add a vet step to drone config [\#57](https://github.com/drone/drone-go/pull/57) ([tboerger](https://github.com/tboerger)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* From 649714b2d17b8d93dcd8bdf7ef1f6b307e0792ec Mon Sep 17 00:00:00 2001 From: Eoin McAfee Date: Thu, 19 Aug 2021 14:21:58 +0100 Subject: [PATCH 2/3] add labels for recent PR --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e7f4e0..3331137 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,16 @@ [Full Changelog](https://github.com/drone/drone-go/compare/v1.6.0...HEAD) -**Merged pull requests:** +**Implemented enhancements:** -- update create template api to access namespace as a param [\#62](https://github.com/drone/drone-go/pull/62) ([eoinmcafee00](https://github.com/eoinmcafee00)) - Template type for supporting CLI commands [\#61](https://github.com/drone/drone-go/pull/61) ([eoinmcafee00](https://github.com/eoinmcafee00)) + +**Fixed bugs:** + +- update create template api to access namespace as a param [\#62](https://github.com/drone/drone-go/pull/62) ([eoinmcafee00](https://github.com/eoinmcafee00)) + +**Merged pull requests:** + - Add a vet step to drone config [\#57](https://github.com/drone/drone-go/pull/57) ([tboerger](https://github.com/tboerger)) From 2713e1d2ad55d23466101f34c8fa2010f1805056 Mon Sep 17 00:00:00 2001 From: Eoin McAfee Date: Thu, 19 Aug 2021 14:32:37 +0100 Subject: [PATCH 3/3] update read.me --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 88e54e2..e925019 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,22 @@ func main() { fmt.Println(repo, err) } ``` +## Release procedure + +Run the changelog generator. + +```BASH +docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -t +``` + +You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens. + +Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label. + +Run the changelog generator again with the future version according to semver. + +```BASH +docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -t --future-release v1.0.0 +``` + +Create your pull request for the release. Get it merged then tag the release. \ No newline at end of file