build things

This commit is contained in:
Tommy Parnell
2016-07-02 13:25:30 -07:00
parent b0825b8339
commit 0895d2c6be
2 changed files with 5 additions and 2 deletions

View File

@@ -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|

View File

@@ -3,6 +3,7 @@ nuget:
project_feed: true
install:
- set PATH=C:\Ruby22\bin;%PATH%
- set
- bundle install
build_script:
- rake publish