Commit d9878639 by sikang

test

parent e1755bf0
...@@ -18,7 +18,7 @@ class Shell: ...@@ -18,7 +18,7 @@ class Shell:
#commit&push lib_base #commit&push lib_base
@staticmethod @staticmethod
def push_base(config): def push_base(config):
commit_msg = input("输入commit msg:") commit_msg = input("输入commit msg: ")
command = "%s\n%s\n%s\n%s\n" \ command = "%s\n%s\n%s\n%s\n" \
% ( % (
"cd %s/%s" % (config['root'],"lib_base"), "cd %s/%s" % (config['root'],"lib_base"),
...@@ -52,7 +52,7 @@ class Shell: ...@@ -52,7 +52,7 @@ class Shell:
def push_with_tag(config): def push_with_tag(config):
Shell.push_project(config) Shell.push_project(config)
tagName="t%s-%s" % (config['corp_id'],config['app_id']) tagName="t%s-%s" % (config['corp_id'],config['app_id'])
command = "%s\n%s\n%s\n%s\n" \ command = "%s\n%s\n%s\n%s\n%s\n" \
% ( % (
"cd %s" % config['root'], "cd %s" % config['root'],
"git tag -d %s" % tagName, "git tag -d %s" % tagName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment