Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Update the version

Update the Pattern Library toolkit version in the code:

  1. Create a new branch from master 

    Code Block
    git checkout master
    git pull
    git checkout -b USERNAME/librarytoolkit-release
  2. Update the version number:
    • Update bower.json (for the Bower package)
    • Update package.json (for the NPM package)
  3. Add release notes to CHANGELOG.mdBuild the minified and uglified production assets:
    Code Block
    gulp build-production
  4. Add and commit all the updated files

  5. Create a PR with your changes using the Pattern Library PR Template.
    • Note: you only need one reviewer for a release PR
  6. Merge your changes once you have thumbs

...

  1. Create a new release in GitHub
    • For example:
    • Include the same bullet points from the CHANGELOG
    • Note that Bower will automatically create a new release once the GitHub release has been created
  2. Publish the updated version to NPM

    Code Block
    npm publish
  3. Confirm that the version updates have been applied: