Răsfoiți Sursa

[CI] haxe-output: fixed git command

Andy Li 9 ani în urmă
părinte
comite
90cb1a05c0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tests/RunCi.hx

+ 1 - 1
tests/RunCi.hx

@@ -654,7 +654,7 @@ class RunCi {
 
 			// check to see whether this will be the first push of this haxe repo commit
 			var firstOutputCommit = firstOutputBranch || {
-				var lastLog = commandResult("git", ["log", "show", "-s", "--pretty=format:%B", "HEAD"]).stdout;
+				var lastLog = commandResult("git", ["show", "-s", "--pretty=format:%B", "HEAD"]).stdout;
 				var commitRe = ~/[a-f0-9]{40}/;
 				if (!commitRe.match(lastLog))
 					throw "No commit sha found in log: " + lastLog;