Skip to content

Commit

Permalink
Fix publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 23, 2020
1 parent 9d370c8 commit 2fa20b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for member in "${MEMBERS[@]}"; do
(
cd "${member}"
actual=$(cargo pkgid | sed 's/.*#//')
if [[ "${actual}" != "${version}" ]]; then
if [[ "${actual}" != "${version}" ]] && [[ "${actual}" != *":${version}" ]]; then
error "expected to release version ${version}, but ${member}/Cargo.toml contained ${actual}"
exit 1
fi
Expand Down

0 comments on commit 2fa20b3

Please sign in to comment.