-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tag v 1.1.0 updates README and repo url
- Loading branch information
Showing
3 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
VERSION = $(shell cat package.json | sed -n 's/.*"version": "\([^"]*\)",/\1/p') | ||
|
||
SHELL = /usr/bin/env bash | ||
|
||
default: install | ||
.PHONY: default test install tag | ||
|
||
version: | ||
@echo $(VERSION) | ||
|
||
|
||
install: | ||
npm install | ||
jspm install | ||
|
||
update_version: | ||
@echo "Current version is " ${VERSION} | ||
@echo "Next version is " $(v) | ||
sed -i s/"$(VERSION)"/"$(v)"/g package.json | ||
|
||
tag_and_push: | ||
git add --all | ||
git commit -a -m "Tag v $(v) $(m)" | ||
git tag v$(v) | ||
git push | ||
git push --tags | ||
npm publish | ||
|
||
tag: update_version tag_and_push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters