From d761e6c90470ff7842f03f9659c9eb65c8e95252 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 29 Jun 2016 17:09:18 -0700 Subject: [PATCH] if else yo --- Rakefile.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Rakefile.rb b/Rakefile.rb index 076e63b..f2b7ece 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -65,14 +65,15 @@ desc 'publish nugets' task :nuspec_publish do if ENV['APPVEYOR_REPO_TAG'] != 'true' puts 'not publishing since APPVEYOR_REPO_TAG has not been set. Please add a github tag' - return nil - end - - + else PROJECTS.each{|dir| Dir.chdir(dir) do sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first} -ApiKey #{NUGET_KEY}" end } sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first} -ApiKey #{NUGET_KEY}" + end + + + end