Skip to content

Commit

Permalink
Fix for release.py
Browse files Browse the repository at this point in the history
* Flush during countdown
* Change tag & push default to N
  • Loading branch information
pepoluan committed Feb 19, 2021
1 parent 2d3cec9 commit cfd7cf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
if has_verify:
print("Waiting for package to be received by PyPI...", end="")
for i in range(10, 0, -1):
print(i, end="..")
print(i, end="..", flush=True)
time.sleep(1.0)
print()
twine_verif = ["twine", "verify_upload"] + DISTFILES
Expand All @@ -101,8 +101,8 @@

# Only tag when we've actually built and uploaded. If something goes wrong
# we may need the tag somewhere else!
choice = input("tag and push? [Y/n]: ")
if choice.lower() not in ("n", "no"):
choice = input("tag and push? [y/N]: ")
if choice.lower() not in ("y", "yes"):
pass
else:
# The annotation information should come from the changelog
Expand Down

0 comments on commit cfd7cf6

Please sign in to comment.