Skip to content

Commit 6c2f490

Browse files
committed
Makefile changes
1 parent 278a729 commit 6c2f490

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ release:
44
@test $(VERSION)
55
@echo ">> VERSION = $(VERSION)"
66
@echo ">> Updating Cargo.toml"
7-
sed -i -e 's/^version.*/version = "$(VERSION)"/g' Cargo.toml
7+
sed -i -e 's/^version = .*/version = "$(VERSION)"/g' Cargo.toml
8+
@# This will update the Cargo.toml
9+
@cargo update
810
@echo ">> Release"
911
@# You need git-release from tj/git-extras
1012
git release v$(VERSION)

0 commit comments

Comments
 (0)