Skip to content

Commit

Permalink
Add a command for publishing with tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Apr 21, 2024
1 parent 0222f62 commit 6e9942d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.PHONY: all
all:

.PHONY: publish
publish:
git tag --force v$$(cat Cargo.toml | grep version | head -1 | cut -d\" -f2)
git push --tags
cargo publish

0 comments on commit 6e9942d

Please sign in to comment.