- Check
spec_version
value in runtime's lib.rs. There are 2: one for mainnet and one for testnet. They should be the same and higher than the last release. - Check
version
in runtime's Cargo.toml. Major version should match thespec_version
. - Check
version
in cli's Cargo.toml. Major version should match thespec_version
. This is the version that will be used as the name of the release and tag.
- Go to the Release new version action in GitHub, select
Run workflow
, choose the branch (usuallydevelop
ormain
) and run it. This action will do the following:- Run unit-tests
- Run
try-runtime
migration checks (which detects things like state inconsitencies or pallet/state version mismatches) - Run fork test for both bastiat and mainnet and check if whole state is still parsable post-fork
- Build runtimes in a reproducible way
- Build new binary
- Create a new GitHub Release
- Build & publish new Docker Image
- Wait for the
Release new version
action to finish. - Go to GitHub Releases. New release should be there, ready for deployment.
- (Optional) Open a new PR that bumps versions for the next release. Sample PR.