diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..b0c5175c --- /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 00000000..3f3f3268 --- /dev/null +++ b/.tagpr @@ -0,0 +1,36 @@ +# 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 = main + versionFile = version/version.go + command = "make prerelease_for_tagpr" diff --git a/CHANGELOG.md b/CHANGELOG.md index 26bb731f..ad3f2d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [v0.14.4](https://github.com/k1LoW/ndiag/compare/v0.14.3...v0.14.4) - 2022-11-04 +- Use octocov by @k1LoW in https://github.com/k1LoW/ndiag/pull/95 +- Bump up go and pkgs by @k1LoW in https://github.com/k1LoW/ndiag/pull/96 +- Fix build flags of linux build by @k1LoW in https://github.com/k1LoW/ndiag/pull/97 +- packr2 to embed by @k1LoW in https://github.com/k1LoW/ndiag/pull/98 +- Fix build pipeline by @k1LoW in https://github.com/k1LoW/ndiag/pull/99 + ## [v0.14.3](https://github.com/k1LoW/ndiag/compare/v0.14.2...v0.14.3) (2022-02-09) * Support darwin arm64 [#94](https://github.com/k1LoW/ndiag/pull/94) ([k1LoW](https://github.com/k1LoW)) diff --git a/Makefile b/Makefile index 34f63f65..4e5da2bc 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,10 @@ prerelease: git commit -m'Bump up version number' git tag ${VER} +prerelease_for_tagpr: + gocredits -w . + git add CHANGELOG.md CREDITS go.mod go.sum + release: goreleaser --rm-dist diff --git a/version/version.go b/version/version.go index e5a0d886..fab78b61 100644 --- a/version/version.go +++ b/version/version.go @@ -4,4 +4,4 @@ package version const Name string = "ndiag" // Version for this -var Version = "dev" +var Version = "0.14.4"