-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Release process
This page is for members of the palantir/blueprint team only.
Review the list of commits since the last "Publish" commit on develop
.
Make sure that every meaningful change is documented in the changelog wiki page for the current major version (as of this writing, that's 5.x Changelog).
Make sure you're on the latest develop
commit.
git checkout develop
git fetch origin
git rebase origin/develop
Use Lerna to bump version numbers and tag a release.
yarn lerna version
Lerna will interactively prompt you to select new version numbers. Review the changelog to determine what the new version for each package should be:
- if there are any new features (including icons), use a
Minor
release - otherwise, use a
Patch
release
lerna notice cli v6.5.1
lerna info versioning independent
lerna info Looking for changed packages since @blueprintjs/core@5.1.4
? Select a new version for @blueprintjs/core (currently 5.1.4) (Use arrow keys)
❯ Patch (5.1.5)
Minor (5.2.0)
Major (6.0.0)
Prepatch (5.1.5-alpha.0)
Preminor (5.2.0-alpha.0)
Premajor (6.0.0-alpha.0)
Custom Prerelease
Custom Version
After this command exits successfully, it will have created a tagged release commit and pushed it to develop, which triggers a CI job to build & publish the libraries to NPM.
Checkout the develop
branch locally, fast-forward to origin/develop
.
-
After a successful publish to NPM (you can follow the CI job on the "Publish" commit), run the following on
develop
to produce a clean build:yarn clean && yarn compile && yarn dist
-
Run
yarn site
to copy assets and launch a local HTTP server for thesite/
directory. -
Do a spot check on the local server to confirm that the site is in order and the version numbers you just released appear in the sidebar.
-
(If you haven't already) Create a second local check-out of the blueprint git repository at
../blueprint-gh-pages
which is checked out at thegh-pages
branch -
Copy the locally-built docs site to your second git repo checkout:
cp -r site/docs/ ../blueprint-gh-pages/docs/
-
Push to the
gh-pages
branch:cd ../blueprint-gh-pages git commit -m "docs v5.x" # replace this with the version of @blueprintjs/core just released git push origin gh-pages
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes