Skip to content

Commit 7a5e6ec

Browse files
authored
[CI] Modified build.py to use token for all upload (taichi-dev#2408)
1 parent 70db0bf commit 7a5e6ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/build.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def parse_args():
143143
def main():
144144
args = parse_args()
145145
mode = args.mode
146-
pypi_user = 'yuanming-hu'
146+
pypi_user = '__token__'
147147
pypi_repo = ''
148148
project_name = args.project_name
149149

@@ -162,7 +162,6 @@ def main():
162162
os.environ['TWINE_PASSWORD'] = env_pypi_pwd
163163

164164
if mode == 'upload' and args.testpypi:
165-
pypi_user = '__token__'
166165
pypi_repo = '--repository testpypi'
167166

168167
if not args.skip_build:

0 commit comments

Comments
 (0)