Skip to content

Commit f18fc8c

Browse files
committed
Add ~/.pypirc template and update release docs
release docs as in "output of release_workflow.sh".
1 parent 6c1edfd commit f18fc8c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

PYPIRC_TEMPLATE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[distutils]
2+
index-servers =
3+
distutils
4+
test-python3-discogs-client
5+
python3-discogs-client
6+
7+
[test-python3-discogs-client]
8+
repository = https://test.pypi.org/legacy/
9+
username = __token__
10+
password = pypi-REDACTED-TOKEN
11+
12+
[python3-discogs-client]
13+
repository = https://upload.pypi.org/legacy/
14+
username = __token__
15+
password = pypi-REDACTED-TOKEN

release_workflow.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ echo " - Use the \"Generate release notes\" button to get started."
1919
echo " - Add to the sections with changes"
2020
echo " - Delete the sections without news"
2121
echo " - Keep a consistent format between releases as good as possible."
22+
echo " - Configure PyPI access:'"
23+
echo " - Make sure you have a ~/.pypirc following PYPIRC_TEMPLATE."
24+
echo " - Make sure you have a project-specific token for"
25+
echo " python3-discogs-client on test.pypi.org and pypi.org."
2226
echo " - Execute 'pypi.sh'"
27+
echo " - Make sure you have a ~/.pypirc following PYPIRC_TEMPLATE."
2328
echo " - Builds package (wheel)"
2429
echo " - Uploads to Test-PyPI"
2530
echo " - Execute the suggested install command to briefly test the package"

0 commit comments

Comments
 (0)