Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 3.28 KB

RELEASE_PROCESS.md

File metadata and controls

84 lines (70 loc) · 3.28 KB

Release Process

preperation

  • Update version in all Cargo.toml files in the repository
    • ./Cargo.toml
    • ./tremor-api/Cargo.toml
    • ./tremor-cli/Cargo.toml
    • ./tremor-common/Cargo.toml
    • ./tremor-influx/Cargo.toml (if we have changes compared to the previous release)
    • ./tremor-pipeline/Cargo.toml
    • ./tremor-script/Cargo.toml (don't forget the reference to the other tremor packages)
    • ./tremor-value/Cargo.toml (if we have changes compared to the previous release)
  • Update version in ./tremor-cli/src/cli.yaml (minor version update only)
  • Update version in Dockerfile.learn
  • Update CHANGELOG.md
    • Change unreleased section to have the new version for the upcoming release
  • Update tests in tremor-cli/tests/ that match against the current version number
    • ./tremor-cli/tests/api/command.yml (the version test)
    • ./tremor-cli/tests/api-cli/command.yml (the version test)
  • run cargo test --all (this will ensure the Cargo.lock is up to date)
  • enter the sub crate directories and run cargo test in each one (this is important to make sure they compile stand alone!)
    • ./tremor-common
    • ./tremor-value
    • ./tremor-script
  • Create a PR with those changes

release

  • Pull the PR once accepted and merged
  • git tag -a -m"Release v<MAJOR>.<MINOR>.<BUGFIX>" v<MAJOR>.<MINOR>.<BUGFIX> <COMMIT>
  • git push origin --tag
  • Draft a new release on github
    • This will trigger the docker image build jobs
    • Add a catchy title
    • Add the relevant changelog entries for this release in the description

follow up

Announcements

Any or all of the following (whichever makes sense)

  • Tremor Discord (announcements channel)
  • Tremor Twitter
  • CNCF Slack Tremor channel
  • Tremor Blog