You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
## Pre-release
2
2
3
+
1. Clean up clippy lints
4
+
1. Run `cargo audit` and fix any issues
3
5
1. Generate protos
4
-
1. Run `cd tensorflow-proto-codegen; cargo run -- $PATH_TO_TENSORFLOW $PWD/..`
6
+
1. Run `cd tensorflow-proto-codegen; cargo run -- ${PATH_TO_TENSORFLOW?} $PWD/..`
5
7
1. Update Cargo.toml in root and tensorflow-op-codegen to ensure version of protobuf exactly equals version of protoc_rust used
6
8
1. Generate ops
7
-
1. Run `cd tensorflow-op-codegen; cargo run -- $PATH_TO_TENSORFLOW $PWD/..`
8
-
1. Run `cd tensorflow-op-codegen; cargo run --bin eager -- $PATH_TO_TENSORFLOW $PWD/..`
9
+
1. Run `cd tensorflow-op-codegen; cargo run -- ${PATH_TO_TENSORFLOW?} $PWD/..`
10
+
1. Run `cd tensorflow-op-codegen; cargo run --bin eager -- ${PATH_TO_TENSORFLOW?} $PWD/..`
9
11
1. Run `cargo fmt` to format generated code
10
12
1. Commit and push changes
11
13
@@ -19,12 +21,12 @@ Note that any crate not mentioned here (e.g. tensorflow-proto-codegen, tensorflo
19
21
1. Ensure that the minimum supported Rust version in the README is up to date
20
22
1. Update changelog.
21
23
1. Bump version number of `tensorflow-sys` if necessary
22
-
1. Run `git log v${PREVIOUS_VERSION}..HEAD tensorflow-sys` and see if there were any changes. If not, skip.
24
+
1. Run `git log v${PREVIOUS_VERSION?}..HEAD tensorflow-sys` and see if there were any changes. If not, skip.
23
25
1. Bump the version in `tensorflow-sys/Cargo.toml`
24
26
1. Bump the version in `tensorflow-sys/README.md`
25
27
1. Bump the version for `tensorflow-sys` in the root `Cargo.toml`
26
28
1. Bump version number of `tensorflow-internal-macros` if necessary
27
-
1. Run `git log v${PREVIOUS_VERSION}..HEAD tensorflow-internal-macros` and see if there were any changes. If not, skip.
29
+
1. Run `git log v${PREVIOUS_VERSION?}..HEAD tensorflow-internal-macros` and see if there were any changes. If not, skip.
28
30
1. Bump the version in `tensorflow-internal-macros/Cargo.toml`
29
31
1. Bump the version for `tensorflow-internal-macros` in the root `Cargo.toml`
30
32
1. Bump the version number in `Cargo.toml`
@@ -36,7 +38,7 @@ Note that any crate not mentioned here (e.g. tensorflow-proto-codegen, tensorflo
36
38
1. 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.)
37
39
1. If the version of tensorflow-internal-macros was bumped, run `cargo publish` for tensorflow-internal-macros. (Publish before tagging in case there are problems publishing and we need to add commits to fix them.)
38
40
1. Run `cargo publish`. (Publish before tagging in case there are problems publishing and we need to add commits to fix them.)
0 commit comments