File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,19 +57,21 @@ source ./.venv/Scripts/activate
5757pip install -r requirements-dev.txt
5858
5959# Run tests
60- pytest tests
60+ pytest test/
6161
6262# Build source tarball and python wheel in dist/
6363python -m build
6464
6565# Build sphinx documentation in docs/_build/html/
6666make -C docs html
6767
68- # Copy build output to gh-pages branch (checkout in separate repository)
68+ # Copy build output to gh-pages branch (checked out in a separate clone of the repository in ../qualisys_python_sdk_gh_pages )
6969# Make sure to keep v102/, v103/ and v212/ directories with the old documentation.
7070cp -r docs/_build/html/* ../qualisys_python_sdk_gh_pages
71- git -C ../qualisys_python_sdk_gh_pages commit -m "Update documentation to version x.y.z"
72- git push origin gh-pages
71+ # Commit the changes with a message like "Update documentation to version x.y.z"
72+ git -C ../qualisys_python_sdk_gh_pages add .
73+ git -C ../qualisys_python_sdk_gh_pages commit
74+ git -C ../qualisys_python_sdk_gh_pages push origin gh-pages
7375
7476# Upload new version to https://pypi.org/project/qtm-rt (needs API key)
7577twine upload dist/*
You can’t perform that action at this time.
0 commit comments