Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 78698bb

Browse files
yongtangEdd Wilder-James
authored andcommitted
Update Release process for SIG-IO (#117)
The release process for SIG-IO has been changed, as whl files are now generated automatically and pushed to Bintray first. This PR captures changes in release process. Signed-off-by: Yong Tang <[email protected]>
1 parent 770a4a5 commit 78698bb

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

sigs/io/RELEASE.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SIG IO Releases
22

3-
At the moment SIG IO Releases consist of two parts:
3+
At the moment SIG IO Releases consist of three parts:
44
- Release of source code with versioning in GitHub
55
- Release of python package in PyPI
66
- Release of R package to CRAN
@@ -13,23 +13,33 @@ To perform a release in GitHub, the following steps are needed:
1313
* Add updates for new features, enhancements, bug fixes
1414
* Add contributors using `git shortlog <last-version>..HEAD -s`
1515
- Merge the PR for RELEASE.md update
16+
- Release PyPI Python Package (see below)
17+
- Release CRAN R Package (see below)
1618
- Create a new version through GitHub
1719

1820
## PyPI Python Package Release
1921

20-
To perform a release in PyPI, first complete the above GitHub release, then
21-
build pip packages locally with docker in the following commands
22-
```
23-
$ docker run -it -e BAZEL_VERSION=0.20.0 --rm -v ${PWD}:/working_dir \
24-
-w /working_dir tensorflow/tensorflow:custom-op \
25-
bash -x /working_dir/.travis/python.release.sh <2.7|3.4|3.5|3.6>
26-
```
27-
Note the above commands has to run four times with 2.7, 3.4, 3.5, 3.6
28-
to generate all pip packages for different python versions.
22+
At the moment Python package (whl files) is created automatically,
23+
upon each successful Travis CI on master branch. At the end of
24+
each Travis CI build on master branch, all whl files
25+
(2.7, 3.4, 3.5, 3.6, 3.7 on Linux and 2.7 on macOS) are pushed to
26+
Bintray and are available in:
27+
28+
https://dl.bintray.com/tensorflow-io/tensorflow-io-nightly/
29+
30+
To perform a release in PyPI, first make sure the binary whl files
31+
are the correct one from corresponding Travis CI build number.
32+
This could be verified by checking the Travis CI history where at
33+
the end of the log, the sha256 of all whl files are calculated and displayed.
34+
The sha256 of each file displayed on Travis CI log should match the sha256
35+
of the files downloaded from Bintray.
36+
37+
Once sha256 are verified against every whl files on Bintray, perform
38+
a sanity check, then upload all of the whl files
39+
(2.7, 3.4, 3.5, 3.6, 3.7 on Linux and 2.7 on macOS) to PyPI.org:
2940

30-
Then upload `artifacts/*.whl` files with:
3141
```
32-
twine upload artifacts/*
42+
twine upload *.whl
3343
```
3444

3545
## CRAN R Package Release

0 commit comments

Comments
 (0)