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

Commit f1e7eb6

Browse files
0.1.0-beta1
1 parent 5b14df7 commit f1e7eb6

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -941,18 +941,15 @@ var defaultActionDocsMerge = Task("Action-Docs-Merge")
941941
// if not - then it means we failed to connect - check out
942942
var hasSolutionFile = System.IO.Directory.GetFiles(docsRepoFolder, "*.sln", System.IO.SearchOption.AllDirectories).Count() != 0;
943943
if(!hasSolutionFile) {
944-
// clean up and try again
944+
945+
Information(string.Format("Cannot find *.sln file in folder:[{0}]", docsRepoFolder));
946+
Information(string.Format("Cleaning folder...", docsRepoFolder));
947+
// clean up and try again
945948
System.IO.Directory.Delete(docsRepoFolder, true);
946949

947950
// again..
948-
Information(string.Format("Checkout docs branch:[{0}]", defaultDocsBranch));
949-
var checkoutCmd = new []{
950-
string.Format("cd '{0}'", docsRepoFolder),
951-
string.Format("git checkout {0}", defaultDocsBranch),
952-
string.Format("git pull")
953-
};
954-
955-
StartPowershellScript(string.Join(Environment.NewLine, checkoutCmd));
951+
Information(string.Format("Checkout docs branch:[{0}]", defaultDocsBranch));
952+
StartPowershellScript(string.Join(Environment.NewLine, checkoutCmd));
956953

957954
hasSolutionFile = System.IO.Directory.GetFiles(docsRepoFolder, "*.sln", System.IO.SearchOption.AllDirectories).Count() != 0;
958955

SubPointSolutions.CakeBuildTools/Templates/build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"defaultSolutionFilePath": "./../YourSolution.sln",
44
"defaultNuGetPackagesDirectory": "./build-artifact-nuget-packages",
55
"defaultChocolateyPackagesDirectory": "./build-artifact-cli-packages",
6-
"defaultNuspecVersion": "0.1.0",
6+
"defaultNuspecVersion": "0.1.0-beta1",
77

88
"defaultTestCategories": [
99
"CI.Core"

0 commit comments

Comments
 (0)