Skip to content

Commit 147ffec

Browse files
ShahanaFarooquimadelinevibes
authored andcommitted
make: Remove printing the version from Makefile
Changelog-None: Fixes error from `tools/check-release.sh`
1 parent 10b10eb commit 147ffec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/check-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ if [ "$HEAD_VERSION" != "$VERSION" ]; then
5050
fi
5151

5252
# The version tag should match the `make version` target output.
53-
MAKE_VERSION=$(make version)
53+
MAKE_VERSION=$(make version | tail -n 1)
5454
echo "MAKE_VERSION=$MAKE_VERSION"
5555
if [ "$MAKE_VERSION" != "$VERSION" ]; then
56-
echo "The version tag must match the \`make version\` target output." >&2
56+
echo "The version tag \"$VERSION\" must match the \`make version\` target output \"$MAKE_VERSION\"." >&2
5757
exit 1
5858
fi
5959

0 commit comments

Comments
 (0)