Skip to content

Commit

Permalink
fix .validate-release
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed Nov 25, 2021
1 parent f746561 commit 177e0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ include help.mk # place after ALL target and before all other targets
.build-release: windows windows32 linux linux-arm64 darwin darwin-arm64

.validate-release: ALL
@TAG=$$(./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep '($(PROJECT_VERSION))'); \
@TAG=$$(./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep '(v$(PROJECT_VERSION))'); \
if test -z "$$TAG"; then \
echo "Build tag from does not match PROJECT_VERSION=$(PROJECT_VERSION) in Makefile:" ; \
echo "Build tag from does not match PROJECT_VERSION=v$(PROJECT_VERSION) in Makefile:" ; \
./$(DIST_DIR)$(PROJECT_NAME) version 2>/dev/null | grep built ; \
exit 1 ; \
fi
Expand Down

0 comments on commit 177e0ef

Please sign in to comment.