File: RELEASING_GUIDE.txt

package info (click to toggle)
python-mrcz 0.5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: python: 2,484; makefile: 5; sh: 1
file content (44 lines) | stat: -rw-r--r-- 983 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Preliminaries
-------------

* Ensure that `RELEASE_NOTES.rst` has up-to-date release notes.
* Ensure that there are no branches in the version in `setup.py`.
* Push any latest changes.

Release
-------

* Create a new tag for the given version

    git tag -a vX.Y.Z -m "Tagging version X.Y.Z"

* Push the tag to Github:

    git push
    git push --tags

Package and upload
------------------

Build a source distribution and a wheel for Windows and the latest Python version
as:

    uv run --active -m build . --wheel --sdist
    twine upload --repository pypi dist/mrcz*

To build the `conda-forge` recipe first copy the SHA hash from the latest release
`mrcz-X.Y.Z.tar.gz` on pypi:

    https://pypi.org/project/mrcz/

Then in the `staged-recipes` git repo you need to modify `recipe/meta.yml`
to:
    - Bump the version 
    - Paste in the new SHA hash

Finally
-------

* Increment the version enumerator in `setup.py` and push.