Skip to content

Commit d1e65f6

Browse files
committed
Don't apply cargo semver-checks to yash-cli
1 parent 58edb27 commit d1e65f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

check-release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ version=$(cargo metadata --format-version=1 --no-deps --all-features |
66
today=$(date +%Y-%m-%d)
77
success=true
88

9-
cargo semver-checks -p "$package" || success=false
9+
if [ "$package" == "yash-cli" ]; then
10+
: # yash-cli's versioning is not based on the library crate API
11+
else
12+
cargo semver-checks -p "$package" || success=false
13+
fi
1014

1115
grep -Fiq "$package" "$package/README.md" || {
1216
success=false

0 commit comments

Comments
 (0)