- Ensure that
dist/
andindex.html
are not committed ondevelop
.
npm run clean
-
Update version in package.json on
develop
. -
Create RC commit on
develop
with new version number:
git add package.json
git commit -m "RC MAJOR.MINOR.PATCH[ - optional message]"
git push
- Switch to
master
:
git checkout master
- Merge
develop
intomaster
:
git merge --no-commit develop
- Test out the demo page locally:
npm run dev
- Build new package and demo page, and ensure all tests pass:
npm run build
- Ensure that the following pieces of information are still correct in the auto-generated comment at the top of vue-typer.js and vue-typer.min.js:
- Package name
- Version number
- Copyright date
- License
-
Ensure that the paths in
index.html
correctly point to the built files indist/
-
Commit and tag with the same message:
git add dist index.html
git commit -m "[release] vMAJOR.MINOR.PATCH"
git tag -a vMAJOR.MINOR.PATCH -m "[release] vMAJOR.MINOR.PATCH"
- Publish to npm:
npm publish
- Push to github:
git push --follow-tags
- Add release notes on Github.