...
- Provide the release tag in the form of “v#.#.#.rc0” where 0 means it’s the first release candidate
- Select the commit by clicking Target: branch > Recent commits > $commit_hash
- Copy and paste NEWS change into the description box
- Select “This is a pre-release"
Tag all the dependent submodules for every MXNet release. If a code-change (e.g. bug-fix) is required to a dependent sub-module then we take a branch from the tag and apply the code-change only to the branch for the sub-module so that the change is minimal. This should allow the MXNet release process to have better convergence towards a stable release.
- Create artifacts for the release and push to the dist folder
- The src tar - apache-mxnet-src-#.#.#.rc0-incubating.tar.gx:
- git clone --recursive http://github.com/apache/incubator-mxnet #
- Clone the Repo and checkout the release branch
- remove R-package until the licensing issue is resolved
...
- Remove all the .git files
...
- Remove all other files of the form .* (eg .travis, .DS_Store etc)
...
- on MacOS use gnu-tar
...
Try to untar it in a different type of
...
machine and try a classic build with `make`. Follow build instructions in the "Build from Source"
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
git clone git@github.com:apache/incubator-mxnet.git --recursive apache-mxnet-src- |
...
0. |
...
11. |
...
0. |
...
rc3-incubating |
...
git checkout v0.11.0 git submodule update --init --recursive git checkout 0.11.0.rc3 rm -rf R-package/* rm -rf R-package rm -rf .DS_Store rm -rf .git* brew install gnu-tar gtar -czvf apache-mxnet-src-0.11.0.rc3-incubating.tar.gz |
...
apache-mxnet-src-0.11.0.rc3-incubating |
- apache-mxnet-src-#.#.#.rc0-incubating.tar.gz.
...
- asc:
...
- apache-mxnet-src-#.#.#.rc0-incubating.tar.gz.md5: Create MD5 checksum
- apache-mxnet-src-#.#.#.rc0-incubating.tar.gz.sha512: Create SHA checksum
...
Code Block | ||||
---|---|---|---|---|
| ||||
gpg --armor --output apache-mxnet-src- |
...
0. |
...
11. |
...
0-incubating.tar.gz |
...
.asc --detach-sig apache-mxnet-src- |
...
0. |
...
11. |
...
0-incubating.tar.gz |
...
# Checkout the Apache directory in Apache distribution SVN "dev" repo
$ svn co https://dist.apache.org/repos/dist/dev/incubator/mxnet
# select p
# Make directory for this RC in the above directory
$ cd mxnet
$ mkdir #.#.#.rc0
# Move artifacts into this folder
$ cp ../apache-mxnet-src-#.#.#.rc0-incubating.tar.gz* #.#.#.rc0
$ svn add #.#.#.rc0
$ svn commit -m "Add mxnet-#.#.#.rc0" --username "lxn2"
(mbaijal@ Clean this up)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
git clone git@github.com:apache/incubator-mxnet.git --recursive md5 apache-mxnet-src-0.11.0-incubating.tar.gz > apache-mxnet-src-0.11.0-incubating.tar.gz.md5 shasum -a 512 apache-mxnet-src-0.11.0-incubating.tar.gz > apache-mxnet-src-0.11.0.rc3-incubating git checkout v0.11.0 git submodule update --init --recursive git checkout 0.11.0.rc3 rm -rf R-package/* rm -rf .DS_Store rm -rf .git* gtar -czvf apache-mxnet-src-0.11.0.rc3-incubating.tar.gz apache-mxnet-src-0.11.0.rc3-incubating |
...
-incubating.tar.gz.sha512 |
Code Block | ||||
---|---|---|---|---|
| ||||
#.#.#-incubating.RC0 folder: Create a folder for this RC in the dist folder # Checkout the Apache directory in Apache distribution SVN "dev" repo $ svn co https://dist.apache.org/repos/dist/dev/incubator/ |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
gpg --verify .mxnet # select p # Make directory for this RC in the above directory $ cd mxnet $ mkdir #.#.#.rc0 # Move artifacts into this folder $ cp ../apache-mxnet-src-0#.11#.0#.rc3rc0-incubating.tar.gz.asc gsha512sum --check ./apache-mxnet-src-0.11.0.rc1-incubating.tar.gz.sha512 gmd5sum --check ./apache-mxnet-src-0.11.0.rc3-incubating.tar.gz.md5* #.#.#.rc0 $ svn add #.#.#.rc0 $ svn commit -m "Add mxnet-#.#.#.rc0" --username "lxn2" |
Download from here and validate - https://dist.apache.org/repos/dist/dev/incubator/mxnet/
Releasing -
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
tar -zxvf apache-mxnet-src-0.11.0.rc3-incubating.tar.gz mv apache-mxnet-src-0.11.0.rc3-incubating apache-mxnet-src-0.11.0-incubating gtar -czvf apache-mxnet-src-0.11.0-incubating.tar.gz apache-mxnet-src-0.11.0-incubating #create a directory under releases or dist/incubator ? - https://httpd.apache.org/dev/release.html svn mv https://dist.apache.org/repos/dist/dev/incubator/mxnet/0.11.0.rc3/ http://www.apache.org/dist/incubator/mxnet/mxnet-#.#.#.rc0 |
...
$ brew install gpg2 coreutils
$ gpg2 --import ../KEYS
$ gpg2
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
gpg --verify ./apache-mxnet-src- |
...
0. |
...
11. |
...
0. |
...
rc3-incubating.tar.gz.asc |
...
gsha512sum --check ./apache-mxnet-src- |
...
0. |
...
11. |
...
0. |
...
rc1-incubating.tar.gz.sha512 |
...
gmd5sum --check ./apache-mxnet-src- |
...
0. |
...
11. |
...
0. |
...
rc3-incubating.tar.gz.md5 |
- Test that a build is successful - spinning up a deep learning Ubuntu AMI will give you an environment with all dependencies to build. A `make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1` should do.
- DISCLAIMER is correct, filenames include “incubating”
- LICENSE and NOTICE files are correct and dependency licenses are acceptable
...