Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 1.18 KB

RELEASE.md

File metadata and controls

60 lines (48 loc) · 1.18 KB
  1. Ensure that dist/ and index.html are not committed on develop.
npm run clean
  1. Update version in package.json on develop.

  2. Create RC commit on develop with new version number:

git add package.json
git commit -m "RC MAJOR.MINOR.PATCH[ - optional message]"
git push
  1. Switch to master:
git checkout master
  1. Merge develop into master:
git merge --no-commit develop
  1. Test out the demo page locally:
npm run dev
  1. Build new package and demo page, and ensure all tests pass:
npm run build
  1. 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
  1. Ensure that the paths in index.html correctly point to the built files in dist/

  2. 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"
  1. Publish to npm:
npm publish
  1. Push to github:
git push --follow-tags
  1. Add release notes on Github.