Update changelog

This commit is contained in:
Taiki Endo
2022-03-19 02:27:25 +09:00
parent 535250de6e
commit d334ea4167
2 changed files with 7 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
- Support specifying the version of `nextest`. ([#2](https://github.com/taiki-e/install-action/pull/3), thanks @sunshowers)
## [1.2.1] - 2022-03-18
- Update `cargo-llvm-cov@latest` to 0.2.4.

View File

@@ -66,6 +66,10 @@ echo "============== CHANGELOG =============="
parse-changelog CHANGELOG.md "${version}"
echo "======================================="
if ! git branch | grep -q '\* main'; then
bail "current branch is not 'main'"
fi
if [[ -n "${tags}" ]]; then
# Create a release commit.
git add CHANGELOG.md
@@ -89,8 +93,8 @@ tools=(
(
set -x
git push origin main
git tag "${tag}"
git push origin main
git push origin --tags
version_tag="v${version%%.*}"