@@ -220,9 +220,10 @@ def full(ctx, part, allow_dirty: bool, github_only: bool):
220220 shell ("git diff" )
221221 prompt ("Is the git diff correct?" )
222222
223+ upload_message = "GitHub only" if github_only else "PyPI"
223224 prompt (
224225 "Last confirmation (point of no return):\n "
225- + "Changes will be committed, files will be uploaded to PyPI , a GitHub release will be created"
226+ + f "Changes will be committed, files will be uploaded to { upload_message } , a GitHub release will be created"
226227 )
227228
228229 commands = [
@@ -232,7 +233,7 @@ def full(ctx, part, allow_dirty: bool, github_only: bool):
232233 "Create the tag but don't push it yet (conventional-github-releaser will do that)" ,
233234 PyPICommands .GIT_TAG .format (new_version ),
234235 ),
235- ("Upload the files to TestPyPI via Twine" , PyPICommands .TWINE_UPLOAD .format (repo = "-r testpypi" )),
236+ ("Test upload the files to TestPyPI via Twine" , PyPICommands .TWINE_UPLOAD .format (repo = "-r testpypi" )),
236237 ]
237238 if not github_only :
238239 commands .append (("Upload the files to PyPI via Twine" , PyPICommands .TWINE_UPLOAD .format (repo = "" )))
@@ -244,7 +245,7 @@ def full(ctx, part, allow_dirty: bool, github_only: bool):
244245 break
245246 prompt ("Something went wrong, running the same command again." , fg = "red" )
246247
247- click .secho (f"The new version { new_version } was uploaded to PyPI ! ✨ 🍰 ✨" , fg = "bright_white" )
248+ click .secho (f"The new version { new_version } was uploaded to { upload_message } ! ✨ 🍰 ✨" , fg = "bright_white" )
248249
249250
250251@pypi .command ()
0 commit comments