Skip to content

Commit 7efd291

Browse files
committed
add conda-forge guide
1 parent 99695e6 commit 7efd291

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

HOW_TO_RELEASE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
### PyPi
2+
13
1. Make all the code changes, including updating version numbers in `pyproject.toml` and `README.md`
24

35
2. Issue the release on github, creating a new tag
@@ -11,3 +13,13 @@
1113
6. Upload to pypi with `twine upload dist/*`
1214

1315
7. Check that the [pypi package page](https://pypi.org/project/cubed-xarray/) shows the expected version.
16+
17+
### Conda-forge
18+
19+
1. Fork the [cubed-xarray feedstock](https://github.com/conda-forge/cubed-xarray-feedstock), creating a branch for the new version
20+
21+
2. The branch should change the `recipe/meta.yaml`, specifically changing the package version number, resetting the build number to 0, and updating the hash
22+
23+
3. The new hash is found using e.g. `openssl sha256 dist/cubed-xarray-0.0.5.tar.gz`
24+
25+
4. Open a PR on the conda-forge feedstock for the changes, and merge it once the bots approve.

0 commit comments

Comments
 (0)