Move pypirc file location to local folder
Some checks failed
Some checks failed
This commit is contained in:
parent
500817be6b
commit
04b74debf9
@ -59,6 +59,6 @@ jobs:
|
|||||||
python write_pypirc.py ${{secrets.PYPI_TOKEN}}
|
python write_pypirc.py ${{secrets.PYPI_TOKEN}}
|
||||||
- name: Upload to PyPI
|
- name: Upload to PyPI
|
||||||
run: |
|
run: |
|
||||||
twine upload pipy dist/*
|
twine upload -r pipy --config-file .pypirc dist/*
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import sys
|
|||||||
|
|
||||||
def write_file(token):
|
def write_file(token):
|
||||||
|
|
||||||
with open('~/.pypirc','w') as f:
|
with open('.pypirc','w') as f:
|
||||||
f.writelines(f"""
|
f.writelines(f"""
|
||||||
[distutils]
|
[distutils]
|
||||||
index-servers =
|
index-servers =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user