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

Latest commit

 

History

History
42 lines (30 loc) · 715 Bytes

RELEASE.md

File metadata and controls

42 lines (30 loc) · 715 Bytes

Releasing

Upload to Test PyPI

export VERSION=1.0.0
git checkout -b release-${VERSION}

git commit -am "Release ${VERSION}.rc0" --allow-empty
git tag ${VERSION}.rc0

make cleanall
make build
make upload-test

# Create venv and install rc version
pip install --extra-index-url=https://test.pypi.org/simple 'word2vec[test]'==${VERSION}rc0
pytest --pyargs word2vec -m "not data"

# Delete rc tag
git tag -d ${VERSION}.rc0

Merge branch when CI passes

Upload to PyPI

  • Update CHANGELOG.md
  • Update README.md and docs
export VERSION=1.0.0

git commit -am "Release ${VERSION}" --allow-empty
git tag ${VERSION}

make cleanall
make build
make upload-pypi
git push origin ${VERSION}
git push