-
Notifications
You must be signed in to change notification settings - Fork 12
Release
taysea edited this page May 11, 2021
·
2 revisions
This wiki page is documenting the Grommet release process:
- Make sure you have github write permissions on the grommet repo.
- Make sure you have NPM permissions to officially publish the release on NPM.
- Know the Semantic Versioning rules to determine whether the release is a major/minor/hotfix release.
- Make sure you are familiar with all the background content available on this recording
- Go over all recent commits from the previous release, summarize notes from each commit that is relevant to production in the past tense.
- Open your local clone of grommet-theme-hpe - make sure it is all cleaned up without any local changes on your master branch.
-
git pull
- make sure you are up to date with the master branch. - In
package.json
update the version following the Semantic Versioning conventions. - Add and commit directly to master with message Updated vX.Y.Z (i.e., Updated v2.17.0) - This is the only time we directly commit to the master branch (EVER 😉).
-
git push
the commit of package.json - to play it safe, continue to the next step after circleci finishes without any errors/warnings. - Create github tag
git tag vX.Y.Z
- One has to include the “v” on the tag, so cicrcleci/github will register it properly. - Check that the push to master has passed in CircleCI.
- After it passes, push tag using
git push origin vX.Y.Z
. - Run locally
yarn build
to create the production files.
- Create the release https://github.com/grommet/grommet-theme-hpe/releases) from the draft that should have been created automatically on the github releases page.
- Edit the draft, and paste release notes to it.
- Hit publish (Congrats!!)
Confirm the release was successful by the following:
- Confirm latest version is displayed on NPM (https://www.npmjs.com/package/grommet)
- Confirm the latest version is available on CodeSandbox (https://codesandbox.io/s/m7mml8l0zj) (change version manually in package.json if it doesn’t show up in the dropdown). The confirmation could be done by running a code that is only relevant for this release on the code sandbox and see it works as expected.
- Go to grommet and update the theme dependency. Make sure the theme displays well on storybook "All" story.
- Finally, post an announcement in #hpe-design-system on Slack.