Skip to content

Commit 99695e6

Browse files
committed
add pypi release guide
1 parent c92c988 commit 99695e6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

HOW_TO_RELEASE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
1. Make all the code changes, including updating version numbers in `pyproject.toml` and `README.md`
2+
3+
2. Issue the release on github, creating a new tag
4+
5+
3. Fetch all the tags with `git pull`
6+
7+
4. Delete any builds for old versions in `/dist`
8+
9+
5. Build the new distribution using `python setup.py sdist bdist_wheel`
10+
11+
6. Upload to pypi with `twine upload dist/*`
12+
13+
7. Check that the [pypi package page](https://pypi.org/project/cubed-xarray/) shows the expected version.

0 commit comments

Comments
 (0)