You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,13 +80,21 @@ Here are some general guidelines for submitting a pull request:
80
80
- Submit the PR to be merged into the `main` branch.
81
81
82
82
### Releases
83
-
For maintainers:
83
+
Notes for maintainers on publishing new releases:
84
84
85
85
Releases are based on git tags. GitHub Actions will build and deploy packages to PyPi on tagged commits
86
86
on the `main` branch. Release steps:
87
-
- Update the version in `pyinaturalist/__init__.py`
87
+
- Update the version in both `pyproject.toml` and `pyinaturalist/__init__.py`
88
88
- Update the release notes in `HISTORY.md`
89
89
- Merge changes into the `main` branch
90
-
- Push a new tag, e.g.: `git tag v0.1 && git push origin --tags`
90
+
- Push a new tag, e.g.: `git tag v0.1.0 && git push upstream --tags`
91
91
- This will trigger a deployment. Verify that this completes successfully and that the new version
92
-
can be installed from pypi with `pip install`
92
+
can be installed from PyPI with `pip install pyinaturalist`.
93
+
- Verify that the docs are built and published to [Read The Docs](https://pyinaturalist.readthedocs.io).
94
+
- A PR for a new Conda release will be created by a bot on the [pyinaturalist-feedstock](https://github.com/conda-forge/pyinaturalist-feedstock/)
95
+
repo. It may take a couple hours after PyPI deployment for this to happen. Typically this will be
96
+
auto-merged and built without any manual action required. Just verify that this completes successfully
97
+
and that the new version can be installed from conda-forge with `conda install -c conda-forge pyinaturalist`.
98
+
- If new depedencies have been added, then those must also be added to the [conda recipe](https://github.com/conda-forge/pyinaturalist-feedstock/blob/master/recipe/meta.yaml).
99
+
- Update and build the Docker image for [pyinaturalist-notebook](https://github.com/JWCook/pyinaturalist-notebook).
100
+
- TODO: This should be fully automated, and triggered after the Conda build rather than the PyPI build.
0 commit comments