Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Aug 9, 2023
1 parent 82f299b commit 52a5cad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
.PHONY: publish

dryrun:
publish:
@echo "Checking if crate can be published..."
@cargo publish --dry-run -p subweight-core
@cargo publish --dry-run -p subweight
@cargo publish --dry-run -p subweight-web

publish: dryrun
$(eval VERSION := $(shell grep -E '^version = "[0-9.]+"' Cargo.toml | cut -d'"' -f2))
$(eval TAG := v$(VERSION))
@echo "Publishing version '$(VERSION)' with tag '$(TAG)'"
Expand Down

0 comments on commit 52a5cad

Please sign in to comment.