-
Notifications
You must be signed in to change notification settings - Fork 101
[ARCHIVE] Release MOP Hatch
Joris Roovers edited this page Mar 7, 2023
·
1 revision
IMPORTANT: Ensure the versions in gitlint-core/gitlint/__init__.py
and the dependency specified in the top-level gitlint pyproject.toml
dependency match!
dependencies = [
"gitlint-core[trusted-deps]==0.19.0dev2",
]
export HATCH_INDEX_USER=<username>
export HATCH_INDEX_AUTH=<password>
cd gitlint-core
hatch clean
hatch build
hatch publish -r test
cd .. # gitlint
hatch clean
hatch build
hatch publish -r test
Published at: https://test.pypi.org/project/gitlint/#history
Published at: https://test.pypi.org/project/gitlint-core/#history
- Docker
- Checkout existing MOP, not fully reviewed
Trying it out:
export GITLINT_RELEASE_VERSION=$(hatch version); echo $GITLINT_RELEASE_VERSION
pip install --no-cache -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple gitlint==$GITLINT_RELEASE_VERSION
hatch env remove qa
hatch run qa:integration-tests # This must fail since no gitlint installed
hatch run qa:pip install --no-cache -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple gitlint==$GITLINT_RELEASE_VERSION
hatch run qa:integration-tests
hatch version minor,dev