To manually create a conda package, run:
conda build -c conda-forge conda-recipe
-
Ensure
bump-my-version
is installed in your conda environment. -
Checkout the
master
branch. -
Run
bump-my-version bump patch
(ormajor
orminor
) to bump the version inpyproject.toml
andplantseg/__version__.py
, and create a new tag. -
Push changes and tags to GitHub:
git push && git push --tags
-
Create a new release on GitHub: GitHub Releases.
-
Generate checksums for the new release:
curl -sL https://github.com/kreshuklab/plant-seg/archive/refs/tags/VERSION.tar.gz | openssl sha256
Replace
VERSION
with the new release version. -
Fork the
conda-forge
feedstock repository: conda-forge/plant-seg-feedstock. -
Clone the forked repository and create a new PR with the following changes:
- Update the
version
inrecipe/meta.yaml
to the new release version. - Update the
sha256
inrecipe/meta.yaml
to the new checksum.
- Update the
-
Wait for the checks to pass and ensure the PR is merged. Once the PR is merged, the new version will be available on the
conda-forge
channel.