Skip to content

Release automation #196

Open
Open
@qinsoon

Description

@qinsoon

We should have an automated process for release. I assume it should be manually triggered, by either a version bump PR, or a Github release.

The following is a checklist for doing a MMTk release.

MMTk core

  • Make sure all related PRs are merged.
  • Create a new PR to bump version in Cargo.toml. Update CHANGELOG.md. Follow the standard PR policy to merge it.
  • Create a release for mmtk-core on Github, which will tag the revision. Use the new section of CHANGELOG as description.
  • Cargo publish
  • get mmtkgc bot's credential. Login to crates.io, get a token
  • cargo login xxxxxx
  • RUSTUP_TOOLCHAIN=nightly-2020-07-08 cargo publish --features semispace --dry-run
  • If the above step works fine, do publish
  • RUSTUP_TOOLCHAIN=nightly-2020-07-08 cargo publish --features semispace
  • Check here: https://crates.io/crates/mmtk
  • Check docs queue: https://docs.rs/releases/queue
  • Eventually the docs will be built and showup here: https://docs.rs/releases/search?query=mmtk

Bindings

  • For each binding:
  • Update version in Cargo.toml
  • Update mmtk rev to the latest in mmtk-core
  • Create a new PR and get it merged.
  • Create a release for the binding on Github, which will tag the revision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-opsArea: Operations (e.g. CI)C-featureCategory: FeatureP-normalPriority: Normal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions