Create update:
- Change version number in pyproject.toml
- Create new package and upload:
SCOARY_VERSION="?.?.?"
# build: will create files in dist/
poetry build
# test: install .whl file
pip install -U dist/scoary_2-$SCOARY_VERSION-py3-none-any.whl
# upload
poetry publish
If you use docker, simply replace each podman
with docker
.
podman build --build-arg SCOARY_VERSION=$SCOARY_VERSION --tag troder/scoary-2 .
Publish docker image:
# podman login docker.io --get-login
# podman login docker.io
podman tag troder/scoary-2 troder/scoary-2:$SCOARY_VERSION
podman push troder/scoary-2:$SCOARY_VERSION
# update tag 'latest'
podman tag troder/scoary-2 troder/scoary-2:latest
podman push troder/scoary-2:latest
Update Zenodo:
- Create a new release on GitHub (Title:
scoary-2:$SCOARY_VERSION
) - Will automatically create a new DOI on Zenodo
- Make sure links are updated