You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to publish with circleci and git tag. Normally I use git tag like v1.0.0, and publish in circleci like yarn lerna publish --repo-version ${CIRCLE_TAG}. As a result, yarn lerna publish will use v1.0.0 to publish packages, but --new-version of yarn publish can not be a version with v. Maybe v should be ignored with --repo-version?
Expected Behavior
yarn publish --repo-version v1.0.0
// publish packages with version `1.0.0`.
Current Behavior
yarn publish --repo-version v1.0.0
// publish packages with version `v1.0.0`.
<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->
Context
I hope this can publish in circleci with my git tag, and I want to still have v in my git tag. Like standard-version, this will ignore v when I use --release-as. Maybe lerna can ignore, too.
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Activity
fix(publish): Pass --repo-version argument through semver.valid()
evocateur commentedon Jul 13, 2018
This has been fixed in master, but is unlikely to make it into the 2.x release line as the codebase has changed dramatically.
HsuTing commentedon Jul 14, 2018
@evocateur OK! Thank you 😁
feat: Split `lerna version` from of `lerna publish` (#1522)
feat: Split `lerna version` from of `lerna publish` (lerna#1522)
lock commentedon Dec 27, 2018
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.