This repository is already at step 7 (with step 6 being completed already).
The steps taken to reproduce the issue:
- Create a new nx monorepo:
npx create-nx-workspace@20.5.0-beta.4 - Add the nx/js package:
nx add @nx/js - Generate a library to publish:
nx g @nx/js:lib packages/my-package - Add the following release config to
nx.json:
"release": {
"releaseTagPatternCheckAllBranchesWhen": true,
"git": {
"commitMessage": "chore: bump versions [skip ci]"
},
"version": {},
"changelog": {
"projectChangelogs": true
},
"groups": {
"packages": {
"projectsRelationship": "independent",
"projects": [
"packages/my-package"
],
"releaseTagPattern": "release/package/{projectName}/{version}"
}
}
}- Run
nx release --skip-publish --first-releaseto successfully generate the first release. - Change some code in the library and commit it.
- Run
nx release --skip-publishto generate a new release. - Watch the failure output in the console.