Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 3
0
 def pre_command_assertions(self):
     assertions.assert_setup_py_exists()
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()
Exemplo n.º 4
0
 def pre_command_assertions(self):
     assertions.assert_setup_py_exists()
     assertions.assert_on_branch("develop")
     assertions.assert_no_uncommitted_changes()