-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Ensure that every pull request increments the package.json version for the package and that a pre-commit script is in place to enforce this. This task is to maintain consistent versioning and prevent unintentional omissions of version bumps. The pre-commit script will compare the package.json version in the current branch with the default branch and prompt the developer to increment the version if necessary.
Definition of Done
- Automated Check: A GitHub Action is implemented that checks for version increment on every pull request.
- Pre-commit Script: Add a pre-commit script to check if the version has been incremented compared to the
defaultbranch. If no increment is detected, print out a suggestion to bump the version. - Documentation: Include a note in the PR template reminding developers to bump the version in
package.json.
Metadata
Metadata
Assignees
Labels
No labels