Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 936cd7b

Browse files
Merge pull request #16 from SubPointSolutions/dev
0.1.0-beta6
2 parents bc69691 + 50b5c11 commit 936cd7b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Build/build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"customNuspecs": [
2323
{
2424
"Id": "SubPointSolutions.CakeBuildTools",
25-
"Version": "0.1.0-beta5",
25+
"Version": "0.1.0-beta6",
2626
"Dependencies": [ ],
2727
"LicenseUrl": "https://github.com/SubPointSolutions/CakeBuildTools/licence",
2828
"ProjectUrl": "https://github.com/SubPointSolutions/CakeBuildTools",

SubPointSolutions.CakeBuildTools/Scripts/SubPointSolutions.CakeBuild.Core.cake

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ var defaultActionDocsMerge = Task("Action-Docs-Merge")
12661266

12671267
var cloneCmd = new []{
12681268
string.Format("cd '{0}'", docsRepoFolder),
1269-
string.Format("git clone -b {1} {0}", docsRepoUrl, defaultDocsBranch)
1269+
string.Format("git clone -b {1} {0} --quiet > null 2>&1", docsRepoUrl, defaultDocsBranch)
12701270
};
12711271

12721272
StartPowershellScript(string.Join(Environment.NewLine, cloneCmd));
@@ -1277,8 +1277,8 @@ var defaultActionDocsMerge = Task("Action-Docs-Merge")
12771277
Information(string.Format("Checkout docs branch:[{0}]", defaultDocsBranch));
12781278
var checkoutCmd = new []{
12791279
string.Format("cd '{0}'", docsRepoFolder),
1280-
string.Format("git checkout {0}", defaultDocsBranch),
1281-
string.Format("git pull")
1280+
string.Format("git checkout {0} --quiet > null 2>&1", defaultDocsBranch),
1281+
string.Format("git pull --quiet > null 2>&1")
12821282
};
12831283

12841284
StartPowershellScript(string.Join(Environment.NewLine, checkoutCmd));
@@ -1324,7 +1324,7 @@ var defaultActionDocsMerge = Task("Action-Docs-Merge")
13241324
mergeCmd.Add(string.Format("git add {0} -f", defaultDocsFileExtension));
13251325
}
13261326

1327-
mergeCmd.Add(string.Format("git commit -m '{0}'", commitName));
1327+
mergeCmd.Add(string.Format("git commit -m '{0}' --quiet > null 2>&1", commitName));
13281328

13291329
StartPowershellScript(string.Join(Environment.NewLine, mergeCmd));
13301330

@@ -1333,7 +1333,8 @@ var defaultActionDocsMerge = Task("Action-Docs-Merge")
13331333
string.Format("cd '{0}'", docsRepoFolder),
13341334
string.Format("git config http.sslVerify false"),
13351335
string.Format("git config --global push.default simple"),
1336-
string.Format("git push {0}", docsRepoPushUrl)
1336+
string.Format("git push {0} --quiet > null 2>&1", docsRepoPushUrl),
1337+
string.Format("return $LASTEXITCODE")
13371338
};
13381339

13391340
// writing a temporary PS file to avoid creds exposure in the build output

0 commit comments

Comments
 (0)