Commit 90c11d4c authored by Amanda Chen's avatar Amanda Chen

Merge branch 'develop'

parents 50672dc7 24268d03
...@@ -2,11 +2,9 @@ var execSync = require("child_process").execSync; ...@@ -2,11 +2,9 @@ var execSync = require("child_process").execSync;
function execute(cmd) { function execute(cmd) {
execSync(cmd, function (error, stdout, stderr) { execSync(cmd, function (error, stdout, stderr) {
if (error) { if (error) {
console.error("发生错误", error); console.error("发生错误l", error);
process.exit(1); process.exit(1);
// throw error; // throw error;
} else {
console.log(cmd);
} }
}); });
} }
...@@ -37,4 +35,7 @@ execute("git merge --no-ff develop"); ...@@ -37,4 +35,7 @@ execute("git merge --no-ff develop");
execute("git push"); execute("git push");
execute(`git tag -a ${params.tag} -m ${params.m}`); execute(`git tag -a ${params.tag} -m ${params.m}`);
execute(`git push --tags `); execute(`git push --tags `);
console.log("success"); console.log("successfull");
console.log("successfull");
console.log("successfull");
console.log("successfull");
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