Skip to content

Commit

Permalink
πŸ”Š Add warning to release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Aug 13, 2024
1 parent 86eb518 commit 874dfef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions laminci/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ def main():
version = json.load(file)["version"]

pypi = " & publish to PyPI" if args.pypi else ""
print(
"WARNING: This will run `git add -u` & commit everything into the release"
" commit. Please ensure all your current changes should appear in the"
" release commit. Typically, you only bump the version number. "
)
response = input(f"Bump {previous_version} to {version}{pypi}? (y/n)")
if response != "y":
return None
Expand Down

0 comments on commit 874dfef

Please sign in to comment.