Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.33 KB

RELEASING.md

File metadata and controls

25 lines (22 loc) · 1.33 KB

Releasing

  1. Check out a clean copy. Note that cargo publish packages up untracked files. Use --allow-dirty at your peril.
  2. Fetch from the main repo
  3. Ensure that the TensorFlow version is a real release, not a release candidate
  4. Bump version number of tensorflow-sys if necessary
    1. Run git log v${PREVIOUS_VERSION}..HEAD tensorflow-sys and see if there were any changes. If not, skip.
    2. Bump the version in tensorflow-sys/Cargo.toml
    3. Bump the version for tensorflow-sys in the root Cargo.toml
  5. Bump the version number in Cargo.toml
  6. Bump the version number in README.md
  7. Run ./test-all
  8. Run python examples/addition/addition.py
  9. Run ./run-valgrind
  10. Commit and push the changes. (Push before publishing to ensure that the changes being published are up to date.)
  11. If the version of tensorflow-sys was bumped, run cargo publish for tensorflow-sys. (Publish before tagging in case there are problems publishing and we need to add commits to fix them.)
  12. Run cargo publish. (Publish before tagging in case there are problems publishing and we need to add commits to fix them.)
  13. Add a v${VERSION} tag and push it
  14. Run ./update-docs
  15. Announce the release to the mailing list

Post-release

  1. Update version numbers of dependencies
  2. Remove any deprecated items scheduled to be removed