Skip to content

Commit 9863f74

Browse files
author
Tonye Jack
committed
Updated Makefile.
1 parent 226722c commit 9863f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ help:
1717
create-new-release:
1818
@echo "Increasing version..."
1919
@echo "Current version $(CURRENT_VERSION)"
20-
@npm version $(PART) -m "Bumped from $(CURRENT_VERSION) to version %s"
21-
@$(eval NEW_VERSION=$(shell git describe "$(shell git rev-list --tags --max-count=1)" --tags))
20+
@$(eval NEW_VERSION=$(shell npm version $(PART) -m "Bumped from $(CURRENT_VERSION) to version %s"))
2221
@echo "Increased version to $(NEW_VERSION)"
2322
@echo $(NEW_VERSION) > .version
23+
@git commit -am "Updated .version to $(NEW_VERSION)."
2424

0 commit comments

Comments
 (0)