Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release workflow #17

Open
mxmehl opened this issue Mar 7, 2024 · 0 comments
Open

Update release workflow #17

mxmehl opened this issue Mar 7, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@mxmehl
Copy link
Member

mxmehl commented Mar 7, 2024

We're using GitHub actions to make a pypi release somewhat automatically, the guide needs to be updated.

* Upgrade dependencies: `poetry update`
* Bump version in `pyproject.toml`
* Build package: `poetry build`
* Optional: publish to `test.pypi.org` with `poetry publish -r test-pypi` and test the package: `pip install -i https://test.pypi.org/simple oss-red-flag-checker`
* Publish to PyPI: `poetry publish` (you may have to set your credentials/API key first)
* Create Git tag: `git tag -s vx.y.z` (use a minimal message)
* Push to GitHub: `git push && git push --tags`
* Make a release on GitHub

@mxmehl mxmehl added the documentation Improvements or additions to documentation label Mar 7, 2024
@mxmehl mxmehl self-assigned this Mar 7, 2024
@mxmehl mxmehl removed their assignment Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant