-
Notifications
You must be signed in to change notification settings - Fork 7
Release Process
-
Generate Personal Github token (Settings -> Developer Settings -> Personal Access Tokens)
-
Add token to path/env as
GITHUB_TOKEN
-
Set up account at npmjs.com and request invite to Datawheel org
-
Login to your local npm instance using
npm login
-
Navigate in your terminal to the top-level folder of your node package (the one that contains
package.json
) -
Make sure your local repo is on the
master
branch (git checkout master) and is up to date (git pull origin master
) -
Increment the version number in
package.json
. Save the file but do not commit nor push it. -
If the version bump is Semantic Minor or greater (
x
ory
inx.y.z
), also update thepeerDependencies
anddevDependencies
of all other packages to match the newx.y
. For example, if updating canon-core to0.21.x
, canon-cmspackage.json
should respect that:
"devDependencies": {
"@datawheel/canon-core": "workspace:^0.21.0",
"@datawheel/canon-logiclayer": "workspace:^0.5.0"
}
- Run
pnpm run release [package-name, e.g., cms]