From 6b1a2459d20c73b4fcdc317033b789eeeda02373 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 21 Dec 2021 23:47:58 +0900 Subject: [PATCH] Release 1.3.0 --- CHANGELOG.md | 13 +++++++++---- README.md | 11 ++++++----- main.sh | 1 + 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9404a7..4db6ef7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +## [1.3.0] - 2021-12-21 + +- Add support for a custom tag prefix ([#8](https://github.com/taiki-e/create-gh-release-action/pull/8), thanks @hawkw) + ## [1.2.2] - 2021-07-24 - Update `parse-changelog` to 0.4.3. This includes a bug fix and performance improvements. @@ -20,11 +24,11 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [1.2.0] - 2021-07-20 -- [Add `branch` input option to reject releases from commits not contained in specified branches](https://github.com/taiki-e/create-gh-release-action/pull/7) +- Add `branch` input option to reject releases from commits not contained in specified branches ([#7](https://github.com/taiki-e/create-gh-release-action/pull/7)) ## [1.1.0] - 2021-06-23 -- [Add `draft` input option to create GitHub release as draft.](https://github.com/taiki-e/create-gh-release-action/pull/4) +- Add `draft` input option to create GitHub release as draft. ([#4](https://github.com/taiki-e/create-gh-release-action/pull/4), thanks @ririsoft) ## [1.0.3] - 2021-04-12 @@ -32,7 +36,7 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [1.0.2] - 2021-02-28 -- [Fix error on macOS and Windows.](https://github.com/taiki-e/create-gh-release-action/pull/2) +- Fix error on macOS and Windows. ([#2](https://github.com/taiki-e/create-gh-release-action/pull/2)) - Documentation improvements. @@ -44,7 +48,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com Initial release -[Unreleased]: https://github.com/taiki-e/create-gh-release-action/compare/v1.2.2...HEAD +[Unreleased]: https://github.com/taiki-e/create-gh-release-action/compare/v1.3.0...HEAD +[1.3.0]: https://github.com/taiki-e/create-gh-release-action/compare/v1.2.2...v1.3.0 [1.2.2]: https://github.com/taiki-e/create-gh-release-action/compare/v1.2.1...v1.2.2 [1.2.1]: https://github.com/taiki-e/create-gh-release-action/compare/v1.2.0...v1.2.1 [1.2.0]: https://github.com/taiki-e/create-gh-release-action/compare/v1.1.0...v1.2.0 diff --git a/README.md b/README.md index dafa419..5a184cc 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,13 @@ Currently, changelog format and supported tag names have the following rule: ### Inputs -| Name | Required | Description | Type | Default | -|-----------|:--------:|----------------------------------------------------------------|---------|---------| -| changelog | false | Path to changelog | String | | -| title | false | Format of title (variables `$tag`, `$version`, and any string) | String | `$tag` | -| draft | false | Create a draft release (`true` or `false`) | Boolean | `false` | +| Name | Required | Description | Type | Default | +|-----------|:--------:|-----------------------------------------------------------------------------|---------|---------| +| changelog | false | Path to changelog (variables `$tag`, `$version`, `$prefix`, and any string) | String | | +| title | false | Format of title (variables `$tag`, `$version`, `$prefix`, and any string) | String | `$tag` | +| draft | false | Create a draft release (`true` or `false`) | Boolean | `false` | | branch | false | Reject releases from commits not contained in branches that match the specified pattern (regular expression) | String | | +| prefix | false | An optional pattern that matches a prefix for the release tag, before the version number (see action.yml for more) | String | | ### Example workflow: Basic usage diff --git a/main.sh b/main.sh index 0ab63fb..ecaf672 100755 --- a/main.sh +++ b/main.sh @@ -2,6 +2,7 @@ set -euo pipefail IFS=$'\n\t' +# https://github.com/taiki-e/parse-changelog/releases parse_changelog_tag="v0.4.5" error() {