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

Commit 059f164

Browse files
Merge pull request #18 from SubPointSolutions/dev
SubPointSolutions.CakeBuildTools 0.1.0-beta7, April 2017
2 parents 936cd7b + 69b36d1 commit 059f164

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
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-beta6",
25+
"Version": "0.1.0-beta7",
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: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#addin nuget:https://www.nuget.org/api/v2/?package=Cake.Powershell&Version=0.2.9
44
#addin nuget:https://www.nuget.org/api/v2/?package=newtonsoft.json&Version=9.0.1
55
#addin nuget:https://www.nuget.org/api/v2/?package=NuGet.Core&Version=2.12.0
6+
#addin nuget:https://www.nuget.org/api/v2/?package=Cake.Figlet&Version=0.4.0
67

78
#tool nuget:https://www.nuget.org/api/v2/?package=Octokit&Version=0.24.0
89
#tool nuget:https://www.nuget.org/api/v2/?package=RazorEngine&Version=3.8.2
@@ -13,7 +14,13 @@
1314
#reference "tools/Microsoft.AspNet.Razor/lib/net45/System.Web.Razor.dll"
1415
#reference "tools/RazorEngine/lib/net40/RazorEngine.dll"
1516

16-
Information("Running SubPointSolutions.CakeBuildTools: 0.1.0-beta5");
17+
Information("Running SubPointSolutions.CakeBuildTools: 0.1.0-beta7");
18+
19+
Setup(ctx => {
20+
Information(Figlet("SubPointSolutions'"));
21+
Information(Figlet("CakeBuildTools"));
22+
Information("Running SubPointSolutions.CakeBuildTools: 0.1.0-beta7");
23+
});
1724

1825
// variables
1926
// * defaultXXX - shared, common settings from json config
@@ -1410,6 +1417,11 @@ var defaultActionGitHubReleaseNotes = Task("Action-GitHub-ReleaseNotes")
14101417
releaseVersion = GetVersionForNuGetPackage(id, ciBranch);
14111418
}
14121419

1420+
if(String.IsNullOrEmpty(releaseVersion))
1421+
{
1422+
throw new Exception("releaseVersion is null or empty. Can't get it from 'ci.github.releaseversion' or any of NuSpec files");
1423+
}
1424+
14131425
Information(String.Format("-githubCompanyName:[{0}]",githubCompanyName));
14141426
Information(String.Format("-githubRepositoryName:[{0}]", githubRepositoryName));
14151427

@@ -1464,6 +1476,7 @@ var taskDefaultClean = Task("Default-Clean")
14641476

14651477
var taskDefaultBuild = Task("Default-Build")
14661478
.IsDependentOn("Default-Clean")
1479+
.IsDependentOn("Action-Restore-NuGet-Packages")
14671480
.IsDependentOn("Action-Build");
14681481

14691482
var taskDefaultRunUnitTests = Task("Default-Run-UnitTests")

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test: off
33
clone_folder: c:\prj
44

55
build_script:
6-
- ps: c:\prj\Build\build.ps1 -Verbosity Minimal -Target "Default-CI"
6+
- ps: c:\prj\Build\build.ps1 -Target "Default-CI"
77

88
artifacts:
99
- path: '**\build-artifact-nuget-packages\*.nupkg'

0 commit comments

Comments
 (0)