Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.49 KB

File metadata and controls

24 lines (21 loc) · 1.49 KB

Releasing substrate-archive

Here's how to make a new release of substrate-archive.

Checklist

  1. Make a new branch, name it according to the template release-vx.y.z for consistency.
  2. Update Cargo.toml in substrate-archive and substrate-archive-backend with the new version number. 2a. Update version in Cargo.toml for polkadot-archive with new version number.
  3. Update the CHANGELOG for substrate-archive and polkadot-archive as specified here.
  4. Make a PR against master with these changes
  5. Once the PR to master is merged, we have to prepare the release branch.
    • Update all references to substrate and polkadot crates to their respective latest releases.
      • diener update --polkadot --tag ${latest_tag}`
      • diener update --substrate --branch polkadot-${latest_tag}`
    • Run all tests: TEST_DATABASE_URL="postgres://localhost:5432/archive cargo test --all.
      • These tests will also be run under CI on branch push.
  6. Tag the release branch with git tag vx.y.z and push the tags with git push --tags.
    • This will trigger the automated release CI which will build the binaries. It can take a bit for this to finish, (~1 hour), but once it's done it will create the draft release from the changelog, and upload the artifacts.
  7. Review the draft release in the github UI.
  8. Get a review of the draft release from the team.
  9. Publish the release from github UI.
  10. Signal to devops that there is a new release available.