Revert "if else yo"

This reverts commit d761e6c904.
This commit is contained in:
Tommy Parnell
2016-07-03 13:36:18 -04:00
parent bc4767f479
commit d7947f010a

View File

@@ -65,15 +65,14 @@ 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'
else
return nil
end
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