Skip to content

Commit

Permalink
chore: update release checklist and make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Oct 10, 2024
1 parent 6fe1488 commit 8943bd0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ create:
install:
pip install -e .[all]

install_test:
pip install $(PROJECT)[all]

remove:
mamba remove --name $(PROJECT) --all

pip_install:
pip install $(PROJECT)[all]

conda_install:
mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT) pytest pytest-cov
mamba create --name $(PROJECT) --yes --force --channel conda-forge $(PROJECT) pytest pytest-cov ipykernel

####
####
Expand Down
14 changes: 11 additions & 3 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,21 @@ Now, when submitting a PR, `RTD` will automatically build the docs and update th

## Release Checklist
* re-run any relevant notebooks
* add any new dependencies to the binder env
* check docs are building correctly using the GitHub actions link within the PR
* merge the PR
* wait for `PyPI` to publish the new version [here](https://pypi.python.org/pypi/invert4geom)
* wait for a PR to be opened in the [feedstock](https://github.com/conda-forge/invert4geom-feedstock)
* update any changed dependencies in the feedstock PR and merge
* wait for `conda` to publish the new version [here](https://anaconda.org/conda-forge/invert4geom)
* update invert4geom version in `binder/environment.yml`.
* test `PyPI` version with `make install_test` and `make test`
* test `conda` version with `make conda_install` and `make test`
* test `PyPI` version with:
- `make remove`
- `make create`
- `mamba activate invert4geom`
- `make pip_install`
- `make test`
* test `conda` version with:
- `make remove`
- `make conda_install`
- `mamba activate invert4geom`
- `make test`

0 comments on commit 8943bd0

Please sign in to comment.