Compare commits

...

4 Commits

Author SHA1 Message Date
Taiki Endo
74b1a6bda9 Release 1.3.6 2022-05-07 07:42:15 +09:00
Taiki Endo
3e62d0866a Update cargo-llvm-cov to 0.3.3 2022-05-07 07:38:46 +09:00
Taiki Endo
d6786821c2 Release 1.3.5 2022-05-06 07:56:11 +09:00
Taiki Endo
89155eb702 Update cargo-llvm-cov to 0.3.2 2022-05-06 07:52:13 +09:00
4 changed files with 17 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ jobs:
tool:
# Note: Specifying the version of valgrind and wasm-pack is not supported.
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,nextest,shellcheck,shfmt,valgrind,wasm-pack,wasmtime,mdbook
- cargo-hack@0.5.12,cargo-llvm-cov@0.3.1,cargo-minimal-versions@0.1.3,parse-changelog@0.4.7,cross@0.2.1,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.4.3,wasmtime@0.36.0,mdbook@0.4.18
- cargo-hack@0.5.12,cargo-llvm-cov@0.3.3,cargo-minimal-versions@0.1.3,parse-changelog@0.4.7,cross@0.2.1,nextest@0.9.11,shellcheck@0.8.0,shfmt@3.4.3,wasmtime@0.36.0,mdbook@0.4.18
# Nextest supports basic version ranges as well
- nextest@0.9
include:

View File

@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [1.3.6] - 2022-05-06
- Update `cargo-llvm-cov@latest` to 0.3.3.
## [1.3.5] - 2022-05-05
- Update `cargo-llvm-cov@latest` to 0.3.2.
## [1.3.4] - 2022-05-01
- Update `cargo-llvm-cov@latest` to 0.3.1.
@@ -103,7 +111,9 @@ 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/install-action/compare/v1.3.4...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.3.6...HEAD
[1.3.6]: https://github.com/taiki-e/install-action/compare/v1.3.5...v1.3.6
[1.3.5]: https://github.com/taiki-e/install-action/compare/v1.3.4...v1.3.5
[1.3.4]: https://github.com/taiki-e/install-action/compare/v1.3.3...v1.3.4
[1.3.3]: https://github.com/taiki-e/install-action/compare/v1.3.2...v1.3.3
[1.3.2]: https://github.com/taiki-e/install-action/compare/v1.3.1...v1.3.2

View File

@@ -59,7 +59,7 @@ for tool in "${tools[@]}"; do
# https://github.com/taiki-e/cargo-hack/releases
cargo-hack) latest_version="0.5.12" ;;
# https://github.com/taiki-e/cargo-llvm-cov/releases
cargo-llvm-cov) latest_version="0.3.1" ;;
cargo-llvm-cov) latest_version="0.3.3" ;;
# https://github.com/taiki-e/cargo-minimal-versions/releases
cargo-minimal-versions) latest_version="0.1.3" ;;
# https://github.com/taiki-e/parse-changelog/releases

View File

@@ -35,6 +35,10 @@ if gh release view "${tag}" &>/dev/null; then
bail "tag '${tag}' has already been created and pushed"
fi
if ! git branch | grep -q '\* main'; then
bail "current branch is not 'main'"
fi
tags=$(git --no-pager tag)
if [[ -n "${tags}" ]]; then
# Make sure the same release does not exist in CHANGELOG.md.
@@ -66,10 +70,6 @@ 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