Skip to content

Commit 13ddd1f

Browse files
committed
Update publish instructions
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 9b565f9 commit 13ddd1f

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

RELEASE.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,31 +41,15 @@ When releasing a new version, the following steps should be taken:
4141
4242
7. Push the changes and the release to Github:
4343
44-
```
45-
git push --follow-tags
46-
```
44+
```
45+
git push --follow-tags
46+
```
4747
4848
8. Publish the release on PyPI:
4949
50-
generate a source and wheel distribution at once
51-
```
52-
python setup.py sdist bdist_wheel
53-
```
54-
55-
generated files are under dist/
56-
```
57-
ls dist/
58-
```
59-
60-
upload release on test.pypi.org
61-
```
62-
twine upload --repository-url https://test.pypi.org/legacy/ dist/pysaml2-X.Y.Z*
63-
```
64-
65-
then, upload release on official pypi.org
66-
```
67-
twine upload dist/pysaml2-X.Y.Z*
68-
```
50+
```
51+
poetry publish --build
52+
```
6953
7054
9. Send an email to the pysaml2 list announcing this release
7155

0 commit comments

Comments
 (0)