Skip to content

Commit

Permalink
chore(release): update docs and npm scripts for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Jan 14, 2017
1 parent 8b67c9c commit 060b074
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ _This will ..._
npm run release -- --prerelease <alpha || beta || rc>
```

_this does the above but tags the version `1.0.1-alpha.0`, `1.0.1-beta.0`, `1.0.1-rc.0`_
_this does the above but tags the version `2.0.1-alpha.0`, `2.0.1-beta.0`, `2.0.1-rc.0`_

#### Push new tag to GitHub

```bash
# npm run script
npm run release:tag:v1
npm run release:tag:v2
```

_this pushes the newly created tag to github_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test.integration": "npm run build && karma start --single-run",
"travis": "npm run test.unit && npm run test.integration",
"release": "standard-version",
"release:tag:v1": "git push --follow-tags origin v1",
"release:tag:v2": "git push --follow-tags origin v2",
"release:publish": "npm run build:release && npm publish --access public --tag",
"build:watch": "gulp build.watch",
"build:release": "gulp",
Expand Down

0 comments on commit 060b074

Please sign in to comment.