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

@@ -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