Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0825b8339 | ||
|
|
a5af6f4886 | ||
|
|
d761e6c904 | ||
|
|
ef33598e31 | ||
|
|
a551a1149e |
26
Gemfile.lock
26
Gemfile.lock
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
15
Rakefile.rb
15
Rakefile.rb
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user