Open
Description
Current Behavior
Small description here, a more detailed study in a comment below.
In many cases we see repeated lines in logs. An example is:
1. lib1 π·οΈ Resolved the current version as 0.0.0 from git tag "libs@0.0.0", based on releaseTagPattern "libs@{version}"
2. lib1 β Applied semver relative bump "patch", because a dependency project belonging to another release group was bumped, to get new version 0.0.1
3. lib1 βοΈ New version 0.0.1 written to manifest: dist/libs/lib1/package.json
4. lib1 π« No changes were detected using git history and the conventional commits standard
5. lib1 β Applied semver relative bump "patch", because a dependency project belonging to another release group was bumped, to get new version 0.0.1
6. lib1 βοΈ New version 0.0.1 written to manifest: dist/libs/lib1/package.json
7. lib1 βοΈ Updated 1 dependency in manifest: dist/libs/lib1/package.json
Note how lines 2 & 3 are identical to 5 & 6.
This is not a big issue per se, but it is an indicator of more important problems in the algorithm.
Expected Behavior
Logs are not repeated
GitHub Repo
https://github.com/mpsanchis/nx-21-release
Steps to Reproduce
- Clone repo in https://github.com/mpsanchis/nx-21-release
git checkout only-commons-syncd
npm i
npx nx release version
Note that the repository has several branches with different scenarios. This one corresponds to the following sketch:
Nx Report
NX Report complete - copy this into the issue template
Node : 18.20.8
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.8.2
nx : 21.2.0-beta.3
@nx/js : 21.2.0-beta.3
@nx/workspace : 21.2.0-beta.3
@nx/devkit : 21.2.0-beta.3
---------------------------------------
Cache Usage: 0.00 B / 92.64 GB
Failure Logs
Package Manager Version
npm 10.8.2
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
Opening issue in case it helps you guys to track. An MR with failing tests will follow.