Closed
Description
ATM, I'm amending because I want the produced artifacts to be part of the chore(release): x.x.x
commit.
"prerelease": "webpack -p --bail", //produces some bundle artifacts that I want to commit
"release": "standard-version -s",
"postrelease": "git commit -a --amend --no-edit"
However, because of the way git works this creates a new commit object since the original commit is tagged before the amend happens. What would be nice is if my postrelease
script was really a poststandard-version
script (i.e. a "lifecycle-style" hook like the npm run script itself).
Activity