Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(npm): mark releases as latest with lerna #2414

Merged
merged 2 commits into from Feb 22, 2024

Conversation

jazmon
Copy link
Contributor

@jazmon jazmon commented Nov 13, 2023

What Changed

Mark the releases as "latest" when releasing with the npm plugin with the independent mode.

Why

Currently auto gets the latest release by looking for a release that is marked as "latest". The npm plugin does not update the "latest" tag when releasing with independent mode causing the releases to start diffing from the initial release.

Todo:

  • Add tests
  • Add docs

Change Type

Indicate the type of change your pull request is:

  • documentation
  • patch
  • minor
  • major

@TUNER88
Copy link

TUNER88 commented Jan 10, 2024

@intuit any chance to get it merged? Having same problem causing incorrect change logs and version numbers

@jazmon jazmon force-pushed the fix-latest-release-lerna-monorepo branch from 281b903 to 50e3b29 Compare February 22, 2024 07:36
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
@jazmon jazmon force-pushed the fix-latest-release-lerna-monorepo branch from 50e3b29 to a55aac0 Compare February 22, 2024 07:40
Copy link
Collaborator

@hipstersmoothie hipstersmoothie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beauuuuuutiful

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (432e152) 80.65% compared to head (a55aac0) 80.57%.
Report is 6 commits behind head on main.

Files Patch % Lines
plugins/npm/src/index.ts 0.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2414      +/-   ##
==========================================
- Coverage   80.65%   80.57%   -0.09%     
==========================================
  Files          69       69              
  Lines        5676     5677       +1     
  Branches     1274     1275       +1     
==========================================
- Hits         4578     4574       -4     
- Misses        718      719       +1     
- Partials      380      384       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jazmon
Copy link
Contributor Author

jazmon commented Feb 22, 2024

Looks like it's passing the CI checks! (other than the two that seem to have some other issues)

Anything preventing from releasing this?

@hipstersmoothie hipstersmoothie merged commit b4464d5 into intuit:main Feb 22, 2024
5 of 9 checks passed
@github-actions github-actions bot added the patch Increment the patch version when merged label Feb 22, 2024
Copy link

🚀 PR was released in v11.0.7 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants