We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 278a729 commit 6c2f490Copy full SHA for 6c2f490
1 file changed
Makefile
@@ -4,7 +4,9 @@ release:
4
@test $(VERSION)
5
@echo ">> VERSION = $(VERSION)"
6
@echo ">> Updating Cargo.toml"
7
- sed -i -e 's/^version.*/version = "$(VERSION)"/g' Cargo.toml
+ sed -i -e 's/^version = .*/version = "$(VERSION)"/g' Cargo.toml
8
+ @# This will update the Cargo.toml
9
+ @cargo update
10
@echo ">> Release"
11
@# You need git-release from tj/git-extras
12
git release v$(VERSION)
0 commit comments