File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class Package:
7171 Sets the package name.
7272 """
7373
74- VERSION = "2.43 .0.dev (Green Galago: Skitterbug)"
74+ VERSION = "2.44 .0.dev (Green Galago: Skitterbug)"
7575 """
7676 Sets the package version.
7777 """
Original file line number Diff line number Diff line change @@ -308,9 +308,11 @@ def bypass(self):
308308
309309 self .end_commit ()
310310
311- def push (self ):
311+ def push (self , exit_it = True ):
312312 """
313313 Push.
314+
315+ :param bool exit_it: Allow us to directly exit after pushing.
314316 """
315317
316318 if self .authorized :
@@ -320,7 +322,8 @@ def push(self):
320322 PyFunceble .helpers .Command (command ).execute ()
321323 PyFunceble .LOGGER .info (f"Executed: { command } " )
322324
323- sys .exit (0 )
325+ if exit_it :
326+ sys .exit (0 )
324327
325328 def end_commit (self ):
326329 """
@@ -349,7 +352,7 @@ def end_commit(self):
349352 PyFunceble .LOGGER .info (f"Executing: { command } " )
350353
351354 PyFunceble .helpers .Command (command ).run_to_stdout ()
352- self .push ()
355+ self .push (exit_it = False )
353356
354357 # We now merge to the destination branch.
355358 commands = [
@@ -365,6 +368,7 @@ def end_commit(self):
365368 ]
366369
367370 self .exec_commands (commands )
371+ sys .exit (0 )
368372
369373 def not_end_commit (self ):
370374 """
Original file line number Diff line number Diff line change 1- current_version : ' 2.43 .0.dev (Green Galago: Skitterbug)'
1+ current_version : ' 2.44 .0.dev (Green Galago: Skitterbug)'
22deprecated :
33- 0.0.0
44- 0.0.1
@@ -172,6 +172,7 @@ deprecated:
172172- 2.40.0
173173- 2.41.0
174174- 2.42.0
175+ - 2.43.0
175176force_update :
176177 minimal_version :
177178 - 0.0.0
You can’t perform that action at this time.
0 commit comments