You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 default branch. 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.
The text was updated successfully, but these errors were encountered:
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 thepackage.json
version in the current branch with thedefault
branch and prompt the developer to increment the version if necessary.Definition of Done
default
branch. If no increment is detected, print out a suggestion to bump the version.package.json
.The text was updated successfully, but these errors were encountered: