mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
openzeppelin-contracts/RELEASING.md

1.1 KiB

Releasing

Visit the documentation for details about release schedule.

Start on an up-to-date master branch.

Create the release branch with npm run release start minor.

Publish a release candidate with npm run release rc.

Publish the final release with npm run release final.

Follow the general OpenZeppelin Contracts release checklist.

Merging the release branch

After the final release, the release branch should be merged back into master. This merge must not be squashed because it would lose the tagged release commit. Since the GitHub repo is set up to only allow squashed merges, the merge should be done locally and pushed.

Make sure to have the latest changes from upstream in your local release branch.

git checkout release-vX.Y.Z
git pull upstream
git checkout master
git merge --no-ff release-vX.Y.Z
git push upstream master

The release branch can then be deleted on GitHub.