- Get a cup of coffee and prepare to sit for while.
- Update the
CHANGELOG
with the new features in this release. Make sure you reference the Pull Request/Issue involved with each feature. example - Update the
README
to reflect the latest version - Add and commit the
CHANGELOG
changes and push to master. - Run
gulp build
to build out the latestdist/
files.
git add -f dist/
- force add thedist/
foldergit commit -m "v#{version} release"
- commit the last changesgit tag v{version}
- Tag the version numbergit push --tags
- You can also usegit push origin v{version}
. Tags can be overwritten with an-f
flag.
npm publish
Run this command with the appropriate aws and aws_secret keys:
export AWS_KEY={AWS KEY} && export AWS_SECRET={AWS SECRET} && gulp deploy
This will test, build, and deploy the files to AWS.
This blog post was especially helpful with information on
publishing to npm
and bower
.
Now that you've finished, uncommit the dist/
folder.
git reset --soft HEAD~1
git rm --cached ./dist