NeuralAmpModelerPlugin

Plugin for Neural Amp Modeler
Log | Files | Refs | Submodules | README | LICENSE

commit c3f788b3813cbcb7bd22b2b9dc27383377f2931f
parent 107dfdec075413d2ea54538ffdb4802fbcb3e0c5
Author: Steven Atkinson <steven@atkinson.mn>
Date:   Thu,  7 Nov 2024 22:24:41 -0800

bump_version.py: Distinguish between commit and tag

Diffstat:
Mbump_version.py | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bump_version.py b/bump_version.py @@ -87,12 +87,13 @@ def main(): os.system(f"git tag -d {tagname}") os.system(f"git push --delete origin {tagname}") + commit = input("\nCommit? Y/N") + if commit == "y" or commit == "Y": + os.system("git commit -a --allow-empty") edit = input( - "\nTag version and git push to origin (will prompt for commit message)? Y/N: " + "\nTag version and git push to origin? Y/N: " ) - if edit == "y" or edit == "Y": - os.system("git commit -a --allow-empty") os.system("git tag " + tagname) os.system("git push && git push --tags")