Skip to content

Commit

Permalink
update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thamme Gowda committed Apr 26, 2024
1 parent 57207b6 commit 9579e11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/how-to-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Using twine : https://twine.readthedocs.io/en/latest/
Clear `rm -r build dist *.egg-info` if those dir exist.
2. Build :: `$ python setup.py sdist bdist_wheel`
where `sdist` is source code; `bdist_wheel` is universal ie. for all platforms
3. Make docs: `docs/make-docs.sh`
3. Make docs: `docs/make-docs.sh`
You may need to install these tools: `sudo apt install ruby-full; gem install asciidoctor kramdown-asciidoc`
4. Upload to **testpypi** :: `$ twine upload -r testpypi dist/*`
5. Upload to **pypi** :: `$ twine upload -r pypi dist/*`

Expand All @@ -22,12 +23,11 @@ index-servers =

[pypi]
repository: https://upload.pypi.org/legacy/
username:Thamme.Gowda
password:<password_here>

username = __token__
password = <TOKEN HERE>

[testpypi]
repository: https://test.pypi.org/legacy/
username:Thamme.Gowda
password:<password_here>
username = __token__
password = <TOKEN HERE>
```

0 comments on commit 9579e11

Please sign in to comment.