So, you want to release op-node
, op-batcher
and op-proposer
eh? Fine, but don’t say I didn’t warn you.
You should already have a Release Candidate tagged if you’re here. If not, go and do that.
Our example Release Candidate is v1.8.0-rc.2
.
First we pull the tag so we are at the right point:
git pull v1.8.0-rc.2
You should see that you are on a detached head. The latest commit should be the last one you expect to be in the release.
Now simply create new tags without the RC prefix:
git tag -a op-node/v1.8.0 -m "release v1.8.0"
git tag -a op-batcher/v1.8.0 -m "release v1.8.0"
git tag -a op-proposer/v1.8.0 -m "release v1.8.0"
git tag -a v1.8.0 -m "release v1.8.0"
The last tag is without an application namespace, and represents the full-stack release.
Now push the tags
git push origin op-node/v1.8.0
git push origin op-batcher/v1.8.0
git push origin op-proposer/v1.8.0
git push origin v1.8.0
Next we need to create the actual release. Go to the monorepo release page and click “Draft a New Release”
In the Draft Release, set the prior release version and Auto-Generate the Release Notes,
Once generated, you’ll need to make the following changes: