Skip to content

Commit cba3a13

Browse files
author
Tonye Jack
committed
Updated release command.
1 parent 691e2fc commit cba3a13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ help:
1717
create-new-release:
1818
@echo "Increasing version..."
1919
@echo "Current version $(CURRENT_VERSION)"
20-
@echo $(shell npm version $(PART) -m "Bumped from $(CURRENT_VERSION) to version %s") >> .version
21-
@echo "Increased version to $(cat .version)"
20+
@npm version $(PART) -m "Bumped from $(CURRENT_VERSION) to version %s"
21+
@echo $(shell git describe "$(PREVIOUS_COMMIT_TAG)" --tags) > .version
22+
@echo "Increased version to $(shell cat .version)"
2223

0 commit comments

Comments
 (0)