We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226722c commit 9863f74Copy full SHA for 9863f74
Makefile
@@ -17,8 +17,8 @@ help:
17
create-new-release:
18
@echo "Increasing version..."
19
@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))
+ @$(eval NEW_VERSION=$(shell npm version $(PART) -m "Bumped from $(CURRENT_VERSION) to version %s"))
22
@echo "Increased version to $(NEW_VERSION)"
23
@echo $(NEW_VERSION) > .version
+ @git commit -am "Updated .version to $(NEW_VERSION)."
24
0 commit comments