[go: up one dir, main page]

File: release.md

package info (click to toggle)
iminuit 2.30.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,660 kB
  • sloc: cpp: 14,591; python: 11,177; makefile: 11; sh: 5
file content (22 lines) | stat: -rw-r--r-- 902 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# How to make a release

- Sync local `main` and `develop` with Github

  - `for x in main develop; git checkout $x; git pull`

- On `develop` branch

  - Update version in `pyproject.toml`
    - For a beta release, add `.betaN`, where N is a number >= 0
    - For a release candidate, add `.rcN`
  - Run `python3 doc/update_changelog.py` or update `doc/changelog.rst` manually
    - Check the output if you used the script
  - If necessary, update ROOT version in `doc/conf.py`, see instructions there

- Merge `develop` into `main`

  - Every push to `main` triggers building wheels, uploading to PyPI, and tagging/publishing on GitHub
  - If there are problems with the wheels, commit fixes to `develop`, then merge again into `main`
  - Note: Upload to PyPI uses API tokens configured in PyPI and Github "Secrets"

- conda-forge should pick up our release automatically and generate conda packages