-
Notifications
You must be signed in to change notification settings - Fork 40
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
Why call npm pack on _release folder? #52
Comments
It's easier to test that the package worked since you can then publish the package and try to install it on all the platforms as the last step in the pipeline |
I see, thanks for clarifying. In that case, shouldn't that last step be included in the repo to serve as example? Right now, the pipeline setup seems to assume manual publishing, which then requires remembering to remove the zip file manually every time. |
I think that we actually want to just have the pipelines publish the final packed package, not the outer one. Good catch. PRs welcomed, otherwise I'll eventually get to this. |
(Packing also strips out other files that are npmignored iirc so I think that might have been one reason). |
Out of curiosity. I saw there was a zip in the
Release
artifact with the same contents as the release itself, which is produced by this script:hello-reason/.ci/cross-release.yml
Lines 26 to 28 in 84194dc
I wonder why that's needed? I personally prefer to have just the folder with the ready-made package, having exclusively the required files to publish.
cc @ulrikstrid
The text was updated successfully, but these errors were encountered: