Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 898 Bytes

RELEASE.md

File metadata and controls

42 lines (26 loc) · 898 Bytes

Hooks-Toolkit Release Process

Cutting a Release

The full process for cutting a release is as follows:

  1. Checkout a new branch: git checkout -b v1.0.2 # 1.0.2-release

  2. Change the version in the package.json file: "version": "1.0.2",

  3. Add, and commit the changes, push up the branch, and open a PR: git add . git commit -m 'RELEASE v1.0.2' git push --set-upstream origin HEAD

  4. Open PR request

    ``

  5. Once the PR is merged, checkout the main branch: git checkout main

  6. Delete main branch (Optional): git branch -d v1.0.2

  7. Make a new Git tag that matches the new version (make sure it is associated with the right commit SHA): FIXUP git tag -a v1.0.2 -m "cut v1.0.2"

  8. Push up the tag from main: git push origin v1.0.2

Packaging & Releasing

Update yarn build

yarn run build

Publish

npm publish --access public