Skip to content

Commit 8297e37

Browse files
committed
Fix release package version check
1 parent ba5480b commit 8297e37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
exit 1
5959
fi
6060
61-
PACKAGE_VERSION="$(cargo metadata --locked --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "bloatwarehatao") | .version')"
61+
PACKAGE_VERSION="$(cargo metadata --locked --no-deps --format-version 1 | jq -er '.packages[] | select(.name == "bloatwarehatao-tui") | .version')"
6262
if [ "v${PACKAGE_VERSION}" != "$RELEASE_TAG" ]; then
6363
echo "::error::Tag ${RELEASE_TAG} does not match package version v${PACKAGE_VERSION}"
6464
exit 1

0 commit comments

Comments
 (0)