Skip to content

Cutting a New Release

Jachin Rupe edited this page Dec 12, 2023 · 16 revisions

Cutting a new release

Eventually this should probably be automated but I should try to keep track of the steps.

  1. Look at package.json and figure out what the new version should be based on the current version.

    cat package.json | grep version
    
  2. Create Branch of the form release-X.Y.X

  3. Bump version number in package.json

  4. Update the package.lock version

    npm install
    
  5. Build

    npm run build
    
  6. Build Site

    npm run build-site
    
  7. Run tests

    npm test; npm run web-test-runner;
    
  8. Run linters

    npm run lint
    
  9. Commit everything

  10. Merge branch back to master

  11. Create a github release, with some nice release notes.

    The tag should look like vX.Y.Z (with the v in front)

    Until we get to 1.0 check the "pre release" checkbox.

  12. Publish on npm

    You may need to login first.

    npm login
    

    And then publish

    npm publish
    
  13. 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
    
Clone this wiki locally