-
-
Notifications
You must be signed in to change notification settings - Fork 291
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 nightly release workflow #3637
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3637 +/- ##
=======================================
Coverage 37.18% 37.18%
=======================================
Files 320 320
Lines 8629 8629
Branches 1336 1336
=======================================
Hits 3209 3209
Misses 5272 5272
Partials 148 148 |
Code Climate has analyzed commit 94e67f6 and detected 0 issues on this pull request. View more on Code Climate. |
Performance Report✔️ no performance regression detected Full benchmark results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lerna is more confusing than a proof of stake protocol lol let's see if this works
Motivation
A previous PR #3601 which aimed to fix how the nightly
--canary
versions were being tagged, usedfrom-package
inlerna publish
. However it was discovered that usingfrom-package
flag totatly ignore any other options with lerna comparing the published versions against package.json's version.This PR restores the original
lerna publish --canary...
and adds comments as to how to make sure it produces correct publishing tag.Description
Lerna publish ignores what are called
lightweight
orcommit
tags (dogit for-each-ref refs/tags
to get tag type). It only takes into care the properannotated
tags, which can be produced by git tag -a option, or better through lerna publish. It seems like, the tags post 0.32 are light weight:and lerna publish --canarary gives these tags as 0.32.0 is the last proper annotated tag:
So original lerna publish --canary --force-publish will work correctly with the correct tagging.