Always getting changelog **Note:** Version bump only for package ...
See original GitHub issueExpected Behavior
When publishing through github action, all the commits should be in the changelog.
Current Behavior
I am running yarn workspaces with lerna. When I make a pull request and merge in master, I’m always getting Note: Version bump only for package… on all my packages.
I’m running npx lerna publish --conventional-commits -m 'chore(release): publish' --registry $NPM_REGISTRY --yes
on github actions and also set the fetch-depth to 0 in the git checkoutv2 action.
lerna.json
{
"lerna": "3.19.0",
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"publish": {
"message": "chore(release): publish",
"conventionalCommits": true
},
"version": {
"conventionalCommits": true
}
},
"packages": [
"packages/*"
]
}
Context
Trying to get all commits/changes in the changelog
Your Environment
Executable | Version |
---|---|
lerna --version |
npx version |
yarn --version |
1.22 |
OS | Version |
---|---|
Ubuntu | 18 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:9
Top Results From Across the Web
Generating changelog automatically with Standard Version
Above, we can see that the patch version is bumped because we only committed a bug fix. Now, let's add a feature. feat:...
Read more >Bump - Commitizen
The version is bumped automatically based on the commits. The commits should follow the rules of the committer to be parsed correctly.
Read more >How To Automatically Generate A Helpful Changelog From ...
Creating a changelog is a usual task if a new software version is going to be released. It contains all the changes which...
Read more >release-it - npm
Bump version (in e.g. package.json ); Git commit, tag, push ... Additionally, this changelog serves as the release notes for the GitHub or...
Read more >7. Releasing and versioning - Python Packages
The first version of a software usually starts at 0.1.0 and increments from there. We call an increment a “bump”, and it consists...
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 FreeTop 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
Top GitHub Comments
The changelog entry for
**Note:** Version bump only for package
should be more complete.I understand this is because one or more dependencies have been updated but they could be cited.
Not sure if this will help anyone (since the author of the issue mentions having set this) - but the issue resolved itself for me when changing the fetch depth of the Github action:
Using this command to publish (forcing all packages have same version):