Compare commits

...

5 Commits

Author SHA1 Message Date
Tommy Parnell
b0825b8339 minor build bug 2016-07-01 00:49:05 -07:00
Tommy Parnell
a5af6f4886 fix publish syntax 2016-07-01 00:23:51 -07:00
Tommy Parnell
d761e6c904 if else yo 2016-06-29 17:09:18 -07:00
Tommy Parnell
ef33598e31 have appveyor publish the things 2016-06-29 17:01:37 -07:00
Tommy Parnell
a551a1149e update docs link 2016-06-16 06:56:29 -04:00
4 changed files with 17 additions and 31 deletions

View File

@@ -1,26 +0,0 @@
GEM
remote: http://rubygems.org/
specs:
albacore (2.0.4)
map (~> 6.5)
nokogiri (~> 1.5)
rake (> 10)
semver2 (~> 3.4)
map (6.6.0)
mini_portile2 (2.0.0)
nokogiri (1.6.7.2-x64-mingw32)
mini_portile2 (~> 2.0.0.rc2)
os (0.9.6)
rake (11.1.1)
semver2 (3.4.2)
PLATFORMS
x64-mingw32
DEPENDENCIES
albacore
nokogiri
os
BUNDLED WITH
1.12.1

View File

@@ -52,7 +52,7 @@ Provides a set of extra authentication providers for OWIN ([Project Katana](http
- Wargaming
## Implementation Guides
For above listed provider implementation guide, visit Jerrie Pelser's blog - [Be a Big Rockstar](http://www.beabigrockstar.com)
For above listed provider implementation guide, visit Jerrie Pelser's blog - [oauthforaspnet](http://www.oauthforaspnet.com)
## Installation

View File

@@ -15,7 +15,8 @@ PACKAGES = File.expand_path("packages")
TOOLS = File.expand_path("tools")
NUGET = File.expand_path("#{TOOLS}/nuget")
NUGET_EXE = File.expand_path("#{TOOLS}/nuget/nuget.exe")
@version = "2.6.0"
@version = ENV['APPVEYOR_REPO_TAG_NAME'] || '0.0.1-alpha1'
@version = @version.sub "v", ""
PROJECTS = Dir.glob('src/*').select{|dir| File.directory? dir }
desc 'Retrieve things'
@@ -63,10 +64,18 @@ end
desc 'publish nugets'
task :nuspec_publish do
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|
Dir.chdir(dir) do
sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first}"
sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first} -ApiKey #{nugetKey}"
end
}
sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first}"
sh "#{NUGET_EXE} push #{FileList["*.nupkg"].first} -ApiKey #{nugetKey}"
end
end

View File

@@ -5,6 +5,9 @@ install:
- set PATH=C:\Ruby22\bin;%PATH%
- bundle install
build_script:
- rake preflight
- rake publish
artifacts:
- path: src\**\*.nupkg
environment:
NUGET_KEY:
secure: 5m1zupizmNvVwCg2MDUkRGQbbVfNypLo9yCstTAXQ5KHDypBe5RrGKi1HnEAhAy8