CMakeLists.txthugo/hugo.tomlcontent/news/release-*.md)baseURL, release_number, version_name, url_blobx.yFinalize ba-www (in fresh release branch):
hugo.toml, update version_mmWheels are built automatically by CI when the git tag is pushed. They are produced for Linux (manylinux), Windows, and macOS, across all supported Python versions.
To download the artifacts and push them to PyPI, run from the BornAgain source directory:
export TWINE_TOKEN=<PyPI API token>
./scripts/pypi-push
The script fetches all wheel artifacts from the CI pipeline for the latest tag, lists them with sizes, and asks for confirmation before uploading. This creates a new version on PyPI and is irreversible.
Run zenodo-push from the
scg-intern
repository:
export ZENODO_TOKEN=<Zenodo API token>
zenodo-push
The script archives the latest tagged commit, uploads it to Zenodo, and publishes the record.
Create release in Jugit
As www on @scg3
cd ~/ba
cp -pr <old_version>/repo <new_version>/repo; # for hotfix, use extant directory
git fetch --all --prune
git checkout <release_branch>
git pull --all
cd build
cmake .. -GNinja
cmake --build . --parallel
ctest
cmake --build . --target figures
cd ../hugo
hugo
cd ../..
ln -si repo/hugo/public hugo-public
cd ~/www/ba/public
ln -si /home/www/ba/VERSION/hugo-public VERSION
rm latest
ln -si VERSION latest
Merge release branch to ba-www => Docs will automatically be updated
Inform users
main
mainhugo/hugo.tomlCMakeLists.txtmain