Skip to content

Commit 8c1f906

Browse files
committed
add additional release insteructions to the release script
1 parent 7c514b3 commit 8c1f906

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

release

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,29 @@
88
# 4. Run ./release-build, make sure no issues
99
# 5. Run this script
1010
# 6. Verify that the expected version appears on https://pypi.org
11-
12-
# Note, requires twine: `pip install twine`
11+
#
12+
# In order to upload to PyPI you will need to login to https://pypi.org,
13+
# using credentials that IT can provide, and create an API Token in the
14+
# rai-sdk project. Then you need to create a $HOME/.pypirc file that looks
15+
# like the following:
16+
#
17+
# ~~~
18+
# [distutils]
19+
# index-servers =
20+
# pypi
21+
#
22+
# [pypi]
23+
# username = __token__
24+
# password = <API Token>
25+
# [rai-sdk]
26+
# username = __token__
27+
# password = <API Token>
28+
# ~~~
29+
#
30+
# The upload script will error on the .egg file, you you can ignore, the error
31+
# is benign.
32+
#
33+
# Note, the script requires twine: `pip install twine`
1334

1435
set -ex
1536

release-upload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -ex
44

55
# upload to production repo
6-
twine upload --skip-existing dist/*
6+
twine upload --repository pypi --skip-existing dist/*

0 commit comments

Comments
 (0)