Preparing a new releaseΒΆ
Code changes that are to be included in the next release should be merged into
the prerelease
branch.
The following lists the procedure for creating a new release.
NOTE Only a few dedicated maintainers should do this.
Check out the
prerelease
branch and ensure the submodule is current:$ git checkout prerelease $ git submodule update
Make sure that the demo.zip file is up-to-date. If not, then run the script
dev_scripts/zip_demo_folder.sh
and commit.Verify the new version number in
svmbir/__init__.py
is accurate. If not, change and commit.Run unit tests for all supported compilers and platforms.
Merge the
prerelease
branch intomaster
(via pull request).Create a new release tag for the new master commit:
$ git checkout master $ git pull origin master $ git tag v<ver_no> -a -m "version <ver_no>" # ex. git tag v0.2.10 -a -m "version 0.2.10" $ git push origin <tagname> # ex. git push origin v0.2.10
Review documentation locally.
Build/upload package to TestPyPI and test installation.
Build/upload package to PyPI and test installation.