From 68466b2193154b65e25ba6c8b0c586e223635241 Mon Sep 17 00:00:00 2001 From: Tom Pallister Date: Mon, 9 Oct 2017 17:06:05 +0100 Subject: [PATCH] updated ensure stable release --- build.cake | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/build.cake b/build.cake index f64519bd..bc6773c0 100644 --- a/build.cake +++ b/build.cake @@ -261,11 +261,19 @@ Task("ReleasePackagesToUnstableFeed") Task("EnsureStableReleaseRequirements") .Does(() => { + Information("Check if stable release..."); + if (!AppVeyor.IsRunningOnAppVeyor) { throw new Exception("Stable release should happen via appveyor"); } - + + Information("Running on AppVeyor..."); + + Information("IsTag = " + AppVeyor.Environment.Repository.Tag.IsTag); + + Information("Name = " + AppVeyor.Environment.Repository.Tag.Name); + var isTag = AppVeyor.Environment.Repository.Tag.IsTag && !string.IsNullOrWhiteSpace(AppVeyor.Environment.Repository.Tag.Name); @@ -274,6 +282,8 @@ Task("EnsureStableReleaseRequirements") { throw new Exception("Stable release should happen from a published GitHub release"); } + + Information("Release is stable..."); }); Task("UpdateVersionInfo")