Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to use standard-version just to update the change log

I like standard-version as it updates the changelog using git commits but for a project I'm working on versioning is managed by another command - and HAS to stay like this. Is there a way of just getting standard-version just to generate the new change log from commits (following commitlint standards) and not bump the version or create tags?

like image 316
Arnold Rimmer Avatar asked Dec 10 '22 01:12

Arnold Rimmer


1 Answers

If you would like Standard Version to only update the changelog and do nothing else, then you can use the skip options provided in either the CLI or the package.json file to skip all the other lifecycle steps.

CLI

npx standard-version --skip.bump --skip.commit --skip.tag

package.json

{
  "standard-version": {
    "skip": {
      "bump": true,
      "commit": true,
      "tag": true
    }
  }
}
like image 135
tnc1997 Avatar answered Feb 06 '23 23:02

tnc1997