From 874dfef1fefd04bb5d92e0a2844278c122619ff6 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Tue, 13 Aug 2024 20:33:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20Add=20warning=20to=20release=20f?= =?UTF-8?q?low?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laminci/__main__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/laminci/__main__.py b/laminci/__main__.py index 2ae52d5..7b56dfd 100644 --- a/laminci/__main__.py +++ b/laminci/__main__.py @@ -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