Closed kernelwhisperer closed 5 years ago
Starting point:
Prepare the builds:
git checkout master
git pull
npm run clean
npm install
(this will also run npm run build
)Prepare the release notes:
Release:
Note: use npm adduser
to authenticate.
npm run publish
and bump the versions according to the release summary.If something went wrong before publishing:
git revert HEAD~ --hard
git push --force
git tag --delete @aragon/cli@5.9.5 create-aragon-app@2.2.3
git push --delete origin @aragon/cli@5.9.5 create-aragon-app@2.2.3
cd packages/aragon-cli
npm version patch
npm publish
# add & commit & tag & create GitHub release
Why? Because using lerna publish
updates the lockfiles resulting in a broken release, see 5.9.0
.
And perhaps automate the release with GH Actions.
We should document how the different packages in this repo are released.