Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 1.47 KB

File metadata and controls

15 lines (13 loc) · 1.47 KB

Contributing

Contributing changes to @s-group/react-usercentrics is almost fully automated through Git branches and GitHub Actions.

  1. Create a new Git branch for your change
  2. Commit changes to the branch following the Conventional Commits specification
    • The commit messages you use will determine the type of new version bump that will be created. See the complete list of release types in the @semantic-release/commit-analyzer default configuration
    • feat commit types will create a minor 0.1.0 bump
    • fix and Revert commit types will create a patch 0.0.1 bump
    • Writing BREAKING CHANGE: as a prefix in the commit message body, or adding an exclamation mark after any commit type (for example feat!) will create a major 1.0.0 bump
  3. Push your branch to the GitHub origin, and open a new Pull Request
  4. GitHub Actions will automatically run checks against your changes
    • You can also see a preview of the upcoming version bump in the checks
  5. After the checks have successfully passed, you can merge your Pull Request to the default branch
  6. GitHub Actions will automatically create a new version commit, attach a Git tag to it (for example v3.0.4), create a GitHub release, and publish the new npm package to the npmjs.com official registry!