From d90b0b6abf39ac5b52d5d5dcd9c8a8296aeafeb5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Sep 2022 14:59:29 +0000 Subject: [PATCH 1/3] [tagpr] prepare for the next release --- .github/release.yml | 4 ++++ .tagpr | 35 +++++++++++++++++++++++++++++++++++ version.go | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/release.yml create mode 100644 .tagpr diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b0c5175 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,4 @@ +changelog: + exclude: + labels: + - tagpr diff --git a/.tagpr b/.tagpr new file mode 100644 index 0000000..5729cb8 --- /dev/null +++ b/.tagpr @@ -0,0 +1,35 @@ +# config file for the tagpr in git config format +# The tagpr generates the initial configuration, which you can rewrite to suit your environment. +# CONFIGURATIONS: +# tagpr.releaseBranch +# Generally, it is "main." It is the branch for releases. The pcpr tracks this branch, +# creates or updates a pull request as a release candidate, or tags when they are merged. +# +# tagpr.versionFile +# Versioning file containing the semantic version needed to be updated at release. +# It will be synchronized with the "git tag". +# Often this is a meta-information file such as gemspec, setup.cfg, package.json, etc. +# Sometimes the source code file, such as version.go or Bar.pm, is used. +# If you do not want to use versioning files but only git tags, specify the "-" string here. +# You can specify multiple version files by comma separated strings. +# +# tagpr.vPrefix +# Flag whether or not v-prefix is added to semver when git tagging. (e.g. v1.2.3 if true) +# This is only a tagging convention, not how it is described in the version file. +# +# tagpr.changelog (Optional) +# Flag whether or not changelog is added or changed during the release. +# +# tagpr.command (Optional) +# Command to change files just before release. +# +# tagpr.tmplate (Optional) +# Pull request template in go template format +# +# tagpr.release (Optional) +# GitHub Release creation behavior after tagging [true, draft, false] +# If this value is not set, the release is to be created. +[tagpr] + vPrefix = true + releaseBranch = master + versionFile = version.go diff --git a/version.go b/version.go index ec33c81..57a3c0b 100644 --- a/version.go +++ b/version.go @@ -12,7 +12,7 @@ import ( const Name = "ghr" // Version is application version -const Version string = "0.15.0" +const Version string = "0.16.0" // GitCommit describes latest commit hash. // This is automatically extracted by git describe --always. From cd8be6483bd8d0fc0c2133bab7dccb7e48556908 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Sep 2022 14:59:29 +0000 Subject: [PATCH 2/3] [tagpr] update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f0de15..527b38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [v0.16.0](https://github.com/tcnksm/ghr/compare/v0.15.0...v0.16.0) - 2022-09-26 +- introduce modern releng stack by @Songmu in https://github.com/tcnksm/ghr/pull/141 +- Go 1.19 and update deps by @Songmu in https://github.com/tcnksm/ghr/pull/143 +- update go-github to v47 by @Songmu in https://github.com/tcnksm/ghr/pull/144 +- add freebsd and arm64 to built artifacts by @Songmu in https://github.com/tcnksm/ghr/pull/145 +- find a draft release before creating new one by @Songmu in https://github.com/tcnksm/ghr/pull/146 + ## [v0.15.0](https://github.com/tcnksm/ghr/compare/v0.14.0...v0.15.0) (2022-08-17) * Allow to use Generate Release Notes function of GitHub [#138](https://github.com/tcnksm/ghr/pull/138) ([neilgierman](https://github.com/neilgierman)) From 5211efbd3dc088ec1a126465b94833185872e277 Mon Sep 17 00:00:00 2001 From: Songmu Date: Tue, 27 Sep 2022 00:00:57 +0900 Subject: [PATCH 3/3] release draft --- .tagpr | 1 + 1 file changed, 1 insertion(+) diff --git a/.tagpr b/.tagpr index 5729cb8..c3288f6 100644 --- a/.tagpr +++ b/.tagpr @@ -33,3 +33,4 @@ vPrefix = true releaseBranch = master versionFile = version.go + release = draft