-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Build: Update scripts for release (fixes #475) #478
Conversation
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.
I tested this locally as well, and it worked correctly as far as I could tell.
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.
Looks good to me, left a comment about ci.yml
.
"rollup": "rollup -c rollup.config.js", | ||
"build": "rollup -c rollup.config.js", |
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.
We should update ci.yml, it uses npm run rollup
.
@mdjermanovic nice catch. Updated. |
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.
LGTM!
lib/version.js
into a separate script and createdupdate-version
npm scriptrollup
script tobuild
to be a bit more conventionalpretest
script to runbuild
beforenpm test
prepublishOnly
script to runupdate-version
and thenbuild
beforenpm publish
I believe this should take care of any of our remaining issues with the release process. We should, of course, run an alpha release first to verify. I tested this locally and everything seemed to work.