build things
This commit is contained in:
@@ -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|
|
||||
|
||||
@@ -3,6 +3,7 @@ nuget:
|
||||
project_feed: true
|
||||
install:
|
||||
- set PATH=C:\Ruby22\bin;%PATH%
|
||||
- set
|
||||
- bundle install
|
||||
build_script:
|
||||
- rake publish
|
||||
|
||||
Reference in New Issue
Block a user