forked from jachin/much-select-elm
-
Notifications
You must be signed in to change notification settings - Fork 0
Cutting a New Release
Jachin Rupe edited this page Dec 12, 2023
·
16 revisions
Eventually this should probably be automated but I should try to keep track of the steps.
-
Look at
package.json
and figure out what the new version should be based on the current version.cat package.json | grep version
-
Create Branch of the form
release-X.Y.X
-
Bump version number in
package.json
-
Update the
package.lock
versionnpm install
-
Build
npm run build
-
Build Site
npm run build-site
-
Run tests
npm test; npm run web-test-runner;
-
Run linters
npm run lint
-
Commit everything
-
Merge branch back to master
-
Create a github release, with some nice release notes.
The tag should look like
vX.Y.Z
(with thev
in front)Until we get to 1.0 check the "pre release" checkbox.
-
Publish on npm
You may need to login first.
npm login
And then publish
npm publish
-
Publish site The site for much select is hosted on Jachin's Firebase account. You can ask him for permission to publish to it, or just skip this step.
npm run deploy-site