Skip to content

Commit f92adc7

Browse files
committed
Add prompt to release script
1 parent f018086 commit f92adc7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Scripts/release.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ def main():
4848
print("Error: Version must follow vMAJOR.MINOR.PATCH format.")
4949
return
5050

51+
confirmation = input(f"Have you updated the changelog (CHANGELOG.md)? [Y/n]: ").strip().lower()
52+
if confirmation not in ('y', 'yes', ''):
53+
print("Aborted.")
54+
return
55+
5156
confirmation = input(f"Are you sure you want to tag and commit as {new_version}? [Y/n]: ").strip().lower()
5257
if confirmation not in ('y', 'yes', ''):
5358
print("Aborted.")

0 commit comments

Comments
 (0)