Skip to content

Releasing

Simon Warta edited this page Mar 6, 2023 · 12 revisions
  1. Update DOCKER_TAG in Makefile
  2. Build to create a local tag.
    • If you are on an Intel machine, use make build to build the official version.
    • If not, you can use make build-x86_64 to force a non-native Intel build: This takes a long time and requires 25 GB of memory for Docker (check docker system info | grep -i memory).
  3. Test the new image locally.
  4. Update and commit the new version in Makefile, CHANGELOG.md and README.md:
    export NEW_RUST_OPTIMIZER_VERSION="0.12.11"
    git add Makefile CHANGELOG.md README.md && git commit -m "Set version: $NEW_RUST_OPTIMIZER_VERSION"
    
  5. Use make publish-x86_64 to publish the Intel/AMD version.
  6. Use make publish-arm64 to build and publish the ARM versions (can take a long time to build on an Intel machine).
  7. git tag "v$NEW_RUST_OPTIMIZER_VERSION"
  8. git push && git push --tags
Clone this wiki locally