File tree Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,7 @@ install:
37
37
- if [[ "$TF_RUST_BUILD_FROM_SRC" == "true" ]]; then pip install --user numpy; fi
38
38
39
39
script :
40
- - cargo test -vv -j 2 --features tensorflow_unstable
41
- - cargo run --example regression
42
- - cargo run --features tensorflow_unstable --example expressions
43
- - cargo doc -vv --features tensorflow_unstable
44
- - # TODO(#66): Re-enable: (cd tensorflow-sys && cargo test -vv -j 1)
45
- - (cd tensorflow-sys && cargo doc -vv)
40
+ - ./test-all
46
41
47
42
addons :
48
43
apt :
Original file line number Diff line number Diff line change
1
+ ## Releasing
2
+
3
+ 1 . Fetch from the main repo
4
+ 1 . Bump version number of ` tensorflow-sys ` if necessary
5
+ 1 . Run ` git log v${PREVIOUS_VERSION}..HEAD tensorflow-sys ` and see if there were any changes. If not, skip.
6
+ 1 . Bump the version in ` tensorflow-sys/Cargo.toml `
7
+ 1 . Bump the version for ` tensorflow-sys ` in the root ` Cargo.toml `
8
+ 1 . Bump the version number in ` Cargo.toml `
9
+ 1 . Run ` ./test-all `
10
+ 1 . Run ` ./run-valgrind `
11
+ 1 . Commit and push the changes. (Push before publishing to ensure that the changes being published are up to date.)
12
+ 1 . Run ` cargo publish ` . (Publish before tagging in case there are problems publishing and we need to add commits to fix them.)
13
+ 1 . Add a ` v${VERSION} ` tag and push it
14
+ 1 . Run ` ./update-docs `
15
+
16
+ ## Post-release
17
+
18
+ 1 . Update version numbers of dependencies
19
+ 1 . Remove any deprecated items scheduled to be removed
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ cargo test -vv -j 2 --features tensorflow_unstable
6
+ cargo run --example regression
7
+ cargo run --features tensorflow_unstable --example expressions
8
+ cargo doc -vv --features tensorflow_unstable
9
+ # TODO(#66): Re-enable: (cd tensorflow-sys && cargo test -vv -j 1)
10
+ (cd tensorflow-sys && cargo doc -vv)
You can’t perform that action at this time.
0 commit comments