Skip to content

Commit

Permalink
fix release scripts add changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Nov 16, 2015
1 parent e5b4f85 commit 723d3b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.1.0

First release.
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ git add dist -f
git commit -m "build $VERSION"

# push commit so it exists on GitHub when we run gh-release
git push upstream gh-release
git push origin gh-release

# create a ZIP archive of the dist files
zip -r $NAME-v$VERSION.zip dist
Expand All @@ -31,7 +31,7 @@ gh-release --assets $NAME-v$VERSION.zip
# checkout master and delete release branch locally and on GitHub
git checkout master
git branch -D gh-release
git push upstream :gh-release
git push origin :gh-release

# publish release on NPM
npm publish
# npm publish

0 comments on commit 723d3b8

Please sign in to comment.