-
Create a new branch for the release
git checkout -b release-2023.9.1
-
Clean the branch
git clean -fxdq
-
Increment version in
package.json
-
Build the package locally:
yarn install # build the package yarn run build # for the browser bundle yarn run webpack bundle # pack the bundle yarn pack --filename conda-store-ui.tgz
-
Perform a local dry run publish:
# dry run publish to npmjs npm publish --verbose --access public conda-store-ui.tgz --dry-run
-
If the dry run looks good, publish to npmjs:
npm publish --verbose --access public conda-store-ui.tgz
-
Ensure that whatever code you published is checked into git, then tag and push the commit and tag
# use the same version here as in package.json, but without a leading `v`
git tag -a YYYY.M.ReleaseNumber
# push to upstream
git push && git push --tags