Update cargo-llvm-cov to 0.3.2

This commit is contained in:
Taiki Endo
2022-05-06 07:52:13 +09:00
parent bb135877f4
commit 89155eb702
4 changed files with 8 additions and 6 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.2,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,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
- Update `cargo-llvm-cov@latest` to 0.3.2.
## [1.3.4] - 2022-05-01
- Update `cargo-llvm-cov@latest` to 0.3.1.

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.2" ;;
# 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