Setup CHANGELOG.md automatically
See original GitHub issueWhen running `` the first time and ther is no CHANGELOG.md file present i get the following error:
Error: fatal: pathspec ‘path/to/lib/CHANGELOG.md’ did not match any files
In such a case we could create the file if it does not exist
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How To Automatically Generate A Helpful Changelog From ...
Auto -Generate Changelog · Follow the Conventional Commits Specification in your repository. We will use @commitlint/config-conventional to enforce this via Git ...
Read more >cookpete/auto-changelog: Command line tool for ... - GitHub
Simply run auto-changelog in the root folder of a git repository. git log is run behind the scenes in order to parse the...
Read more >Automatically generate and release a changelog using Node.js
In this tutorial, we'll explore a method for automatically generating and releasing a changelog that uses git hooks and Node.js.
Read more >Automatic Changelog and Versioning with GIT
Below you can find a sample configuration for GitLab CI/CD to automatically generate a CHANGELOG.md file on a push to the main branch....
Read more >auto-changelog - npm
Command line tool for generating a changelog from git tags and commit history. Latest version: 2.4.0, last published: a year ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I see the same issue. For the record, this is a project that has been migrated to NX so it has a lot of history but no ‘last-version’ tag or any previous version tag that this plugin would recognize (not sure if that matters).
When i run:
nx affected --target=version --baseBranch=master --dryRun --head=HEAD --base=master --releaseAs=prerelease --preid=rcI get the following error for every app and package in the repository:
Maybe it’s happening only on Windows because on Linux I can’t reproduce.