From 6e71cced369c8a917d1f5a6aeb3e550230c99ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20Soykan?= Date: Mon, 2 Oct 2017 10:53:51 +0300 Subject: [PATCH] Update build.cake --- build.cake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.cake b/build.cake index 8d9aadf..7a89615 100644 --- a/build.cake +++ b/build.cake @@ -15,6 +15,7 @@ var configuration = Argument("configuration", "Release"); var toolpath = Argument("toolpath", @"tools"); var branch = Argument("branch", EnvironmentVariable("APPVEYOR_REPO_BRANCH")); var nugetApiKey = EnvironmentVariable("nugetApiKey"); +var isRelease = EnvironmentVariable("APPVEYOR_REPO_TAG"); var testProjects = new List> { @@ -55,6 +56,7 @@ Task("Clean") .Does(() => { Information("Current Branch is:" + EnvironmentVariable("APPVEYOR_REPO_BRANCH")); + Information($"IsRelase: {isRelease}"); CleanDirectories("./src/**/bin"); CleanDirectories("./src/**/obj"); CleanDirectory(nupkgPath);