Open simison opened 1 year ago
Personally I'd rather not have it automatically doing git commit -m
. Often enough I have other changes already waiting that need a different commit message, or I want to --amend
the changelog update to them before the initial push to GH.
Often enough I have other changes already waiting that need a different commit message
I meant to include only the changelog file, and leave the rest for the dev to commit.
You'd also want to check you're not in trunk
branch, or if there are already changes staged for commit, before doing anything.
Oh and could also just be --commit
opt-in instead of opt-out. :-)
Impacted plugin
None / Other
What
Commit new changelog entry created with
jetpack changelog
right awayHow
Let's assume folks are in the right branch, ready to continue by committing the changelog they just created.
Now we commit changelogs manually:
I'd expect the script to do it for me to save few commands:
If you need an escape hatch, just: