Example #1
0
 def parse_commandline_arguments(self, arguments):
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()
     methods = [self.release, self.upload]
     [method] = [method for method in methods
                 if arguments.get(method.__name__)]
     self.arguments = arguments
     method()
Example #2
0
 def parse_commandline_arguments(self, arguments):
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()
     methods = [self.release, self.upload]
     [method
      ] = [method for method in methods if arguments.get(method.__name__)]
     self.arguments = arguments
     method()
Example #3
0
 def pre_command_assertions(self):
     assertions.assert_setup_py_exists()
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()
Example #4
0
 def pre_command_assertions(self):
     assertions.assert_setup_py_exists()
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()