From 1625f787d238b18e67cfc91b291e8e38f0b0c6da Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 2 Jul 2016 13:25:30 -0700 Subject: [PATCH] build things --- Rakefile.rb | 6 ++++-- appveyor.yml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Rakefile.rb b/Rakefile.rb index 869d751..61e30de 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -64,8 +64,10 @@ end desc 'publish nugets' task :nuspec_publish do -nugetKey = ENV['APPVEYOR_REPO_TAG'] - if nugetKey != 'true' || nugetKey != true; +repoTag = ENV['APPVEYOR_REPO_TAG'] +nugetKey = ENV['NUGET_KEY'] +puts nugetKey + if repoTag != '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 d0c39c2..7a7939a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,7 @@ nuget: project_feed: true install: - set PATH=C:\Ruby22\bin;%PATH% + - set - bundle install build_script: - rake publish