From 13ddd1fad436df4c23cf93b340c07a9aeaf2ad47 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Tue, 14 Feb 2023 16:03:01 +0200 Subject: Update publish instructions Signed-off-by: Ivan Kanakarakis --- RELEASE.md | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index fc29a18a..e57d1144 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,31 +41,15 @@ When releasing a new version, the following steps should be taken: 7. Push the changes and the release to Github: - ``` - git push --follow-tags - ``` + ``` + git push --follow-tags + ``` 8. Publish the release on PyPI: - generate a source and wheel distribution at once - ``` - python setup.py sdist bdist_wheel - ``` - - generated files are under dist/ - ``` - ls dist/ - ``` - - upload release on test.pypi.org - ``` - twine upload --repository-url https://test.pypi.org/legacy/ dist/pysaml2-X.Y.Z* - ``` - - then, upload release on official pypi.org - ``` - twine upload dist/pysaml2-X.Y.Z* - ``` + ``` + poetry publish --build + ``` 9. Send an email to the pysaml2 list announcing this release -- cgit v1.2.1