Skip to content

Commit

Permalink
correct typo in Makefile
Browse files Browse the repository at this point in the history
the crate publish target had a small typo where it was comparing
versions.  one of the versions always had a prefix of v.

Signed-off-by: Brent Baude <bbaude@redhat.com>
  • Loading branch information
baude committed May 1, 2023
1 parent 319d0ea commit 85dde17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ examples: bin $(CARGO_TARGET_DIR)

.PHONY: crate-publish
crate-publish:
@if [ "$(CRATE_VERSION)" != "$(GIT_TAG)" ]; then\
@if [ "v$(CRATE_VERSION)" != "$(GIT_TAG)" ]; then\
echo "Git tag is not equivalent to the version set in Cargo.toml. Please checkout the correct tag";\
exit 1;\
fi
Expand Down

0 comments on commit 85dde17

Please sign in to comment.