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..f8909c7 --- /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 tagpr 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.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 2028f2c..77373b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [v0.3.0](https://github.com/Songmu/ghg/compare/v0.2.0...v0.3.0) - 2023-01-02 +- update release related stuffs by @Songmu in https://github.com/Songmu/ghg/pull/18 +- update deps by @Songmu in https://github.com/Songmu/ghg/pull/20 +- use os.UserHomeDir instead of go-homedir by @Songmu in https://github.com/Songmu/ghg/pull/21 +- migrate to go-github from octokit by @Songmu in https://github.com/Songmu/ghg/pull/22 +- quess download url before requesting assets list by @Songmu in https://github.com/Songmu/ghg/pull/23 +- detect latest tag without using API by @Songmu in https://github.com/Songmu/ghg/pull/24 + ## [v0.2.0](https://github.com/Songmu/ghg/compare/v0.1.4...v0.2.0) (2019-01-29) * apply go modules and update mholt/archiver unarchive method [#17](https://github.com/Songmu/ghg/pull/17) ([zrma](https://github.com/zrma)) diff --git a/version.go b/version.go index fccab59..ccfefce 100644 --- a/version.go +++ b/version.go @@ -1,5 +1,5 @@ package ghg -const version = "0.2.0" +const version = "0.3.0" var revision = "Devel"