diff --git a/Rakefile.rb b/Rakefile.rb index 61e30de..869d751 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -64,10 +64,8 @@ end desc 'publish nugets' task :nuspec_publish do -repoTag = ENV['APPVEYOR_REPO_TAG'] -nugetKey = ENV['NUGET_KEY'] -puts nugetKey - if repoTag != 'true'; +nugetKey = ENV['APPVEYOR_REPO_TAG'] + if nugetKey != 'true' || nugetKey != true; puts 'not publishing since APPVEYOR_REPO_TAG has not been set. Please add a github tag' else PROJECTS.each{|dir| diff --git a/appveyor.yml b/appveyor.yml index 7a7939a..d0c39c2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,6 @@ nuget: project_feed: true install: - set PATH=C:\Ruby22\bin;%PATH% - - set - bundle install build_script: - rake publish