From 43caef488c76da06c1f4f4c9bb9735b8405e15fd Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 20 Oct 2016 14:36:51 -0700 Subject: [PATCH] Use IsTeamCity to determine if we're running on the CI --- makefile.shade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile.shade b/makefile.shade index 95f8cd80dc..f9bfeb0dd4 100644 --- a/makefile.shade +++ b/makefile.shade @@ -3,7 +3,7 @@ k-standard-goals #push-packages target="verify" @{ - if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("NUGET_PUBLISH_FEED"))) + if (IsTeamCity) { Environment.SetEnvironmentVariable("NUGET_PUBLISH_FEED", "https://dotnet.myget.org/F/aspnetcore-feature-work/api/v2/package"); CallTarget("nuget-install");