https://github.com/zerothi/sisl
Tip revision: b45ef98ac732e4bebbc5ec5b0deb0ed8b0078c85 authored by Nick Papior on 28 September 2023, 20:19:37 UTC
fixed ubuntu runner
fixed ubuntu runner
Tip revision: b45ef98
DEPLOY.md
Deployment of sisl
==================
This document describes the deployment details to perform
an version release (or development release).
Version release
---------------
A version release cycle *must* not contain any changes to the
code other than the below specified changes.
Any pending commits should be committed before proceeding with the
below sequence.
The release cycle should be performed like this:
1. Update released versions in `CHANGELOG.md` and `CITATION.cff`
2. Insert correct dates in `CITATION.cff` (for Zenodo)
3. Commit changes.
4. Tag the commit with:
git tag -a "vVERSION" -m "Releasing vVERSION"
5. Create tarballs and wheels and upload them
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine
# requires .pypirc with testpypi section
python3 -m twine upload --repository testpypi dist/*
# test installation, preferably in a venv
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ sisl
# once checked, upload to pypi
python3 -m twine upload dist/sisl-0.12.0.tar.gz
6. Make release notes by using `tools/changelog.py` to create the output
7. Create conda uploads.
The conda uploads are based on conda-forge and an associated
sisl-feedstock is used. To update it, follow these steps:
1. branch off https://github.com/conda-forge/sisl-feedstock
2. Edit recipe/meta.yaml by updating version and sha256
3. Propose merge-request.
4. Check CI succeeds.
5. Accept merge and the new version will be uploaded.