diff --git a/PyFunceble/abstracts/package.py b/PyFunceble/abstracts/package.py index 6e6f0753..c62897c5 100644 --- a/PyFunceble/abstracts/package.py +++ b/PyFunceble/abstracts/package.py @@ -71,7 +71,7 @@ class Package: Sets the package name. """ - VERSION = "2.43.0.dev (Green Galago: Skitterbug)" + VERSION = "2.44.0.dev (Green Galago: Skitterbug)" """ Sets the package version. """ diff --git a/PyFunceble/engine/auto_save.py b/PyFunceble/engine/auto_save.py index 5d465922..2066ec0d 100644 --- a/PyFunceble/engine/auto_save.py +++ b/PyFunceble/engine/auto_save.py @@ -308,9 +308,11 @@ def bypass(self): self.end_commit() - def push(self): + def push(self, exit_it=True): """ Push. + + :param bool exit_it: Allow us to directly exit after pushing. """ if self.authorized: @@ -320,7 +322,8 @@ def push(self): PyFunceble.helpers.Command(command).execute() PyFunceble.LOGGER.info(f"Executed: {command}") - sys.exit(0) + if exit_it: + sys.exit(0) def end_commit(self): """ @@ -349,7 +352,7 @@ def end_commit(self): PyFunceble.LOGGER.info(f"Executing: {command}") PyFunceble.helpers.Command(command).run_to_stdout() - self.push() + self.push(exit_it=False) # We now merge to the destination branch. commands = [ @@ -365,6 +368,7 @@ def end_commit(self): ] self.exec_commands(commands) + sys.exit(0) def not_end_commit(self): """ diff --git a/version.yaml b/version.yaml index 3dcc0093..12a9ce7b 100644 --- a/version.yaml +++ b/version.yaml @@ -1,4 +1,4 @@ -current_version: '2.43.0.dev (Green Galago: Skitterbug)' +current_version: '2.44.0.dev (Green Galago: Skitterbug)' deprecated: - 0.0.0 - 0.0.1 @@ -172,6 +172,7 @@ deprecated: - 2.40.0 - 2.41.0 - 2.42.0 +- 2.43.0 force_update: minimal_version: - 0.0.0