Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Prepare for 0.1.0 release #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# PyPI Release Process

1. Update the version number in `allennlp-multi-label/__init__.py` according to [SemVer](https://semver.org/). This should match the version number under `pyproject.toml` and `tests/test_allennlp_multi_label.py`. Note you can use the poetry command [version](https://python-poetry.org/docs/cli/#version) to update the `pyproject.toml` file.
2. Generate a `setup.py` file by calling `dephell deps convert`.
3. Commit these changes to master.
4. Create a new release on GitHub. It should be named `v{VERSION}` where `VERSION` matches the version number from step 1.
5. Make sure your local copy of the repository is up-to-date: `git fetch ; git pull`.
6. Checkout the tag: `git checkout tags/v{VERSION}`.
7. Then run `poetry build ; poetry publish`. You will be prompted to sign into [PyPI](https://pypi.org/).
Loading