-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
publish flow fixes #28050
publish flow fixes #28050
Conversation
@@ -15,7 +15,7 @@ fi | |||
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -canary ]]; | |||
then | |||
echo "Publishing canary" | |||
yarn run lerna publish from-git --npm-tag canary --yes | |||
yarn run lerna publish from-git --npm-tag canary --no-git-reset --yes |
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.
--no-git-reset
makes lerna okay with git update-index --skip-worktree
. It seems like we would be interested in the feature proposed in this issue.
@@ -15,7 +15,7 @@ const cwd = process.cwd() | |||
|
|||
// Copy binaries to package folders, update version, and publish | |||
let nativePackagesDir = path.join(cwd, 'packages/next/build/swc/npm') | |||
let platforms = await (await readdir(nativePackagesDir)).filter( | |||
let platforms = await readdir(nativePackagesDir).filter( |
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.
It looks like this await readdir
still needs to be wrapped
Tested theses changes end to end in my fork (published under my personal scope with some irrelevant jobs skipped to speed up iteration)