make: Remove printing the version from Makefile

Changelog-None: Fixes error from `tools/check-release.sh`
This commit is contained in:
ShahanaFarooqui
2025-11-21 18:16:21 -08:00
committed by madelinevibes
parent 10b10eb981
commit 147ffecc18

View File

@@ -50,10 +50,10 @@ if [ "$HEAD_VERSION" != "$VERSION" ]; then
fi
# The version tag should match the `make version` target output.
MAKE_VERSION=$(make version)
MAKE_VERSION=$(make version | tail -n 1)
echo "MAKE_VERSION=$MAKE_VERSION"
if [ "$MAKE_VERSION" != "$VERSION" ]; then
echo "The version tag must match the \`make version\` target output." >&2
echo "The version tag \"$VERSION\" must match the \`make version\` target output \"$MAKE_VERSION\"." >&2
exit 1
fi