Permalink
Browse files

Fixing nuget package creation

  • Loading branch information...
1 parent 5e28bfc commit 1661b041d1e626b6da33906b803aebef775db93c @danielmarbach danielmarbach committed Jan 20, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 rakefile.rb
View
@@ -138,11 +138,11 @@
end
desc "Publishes the NuGet package"
-task :publishpackage => [ :default ] do
+task :publishpackage => [ :createpackage ] do
raise "NuGet access key is missing, cannot publish" if configatron.nuget.key.nil?
opts = %W(
- nuget push #{configatron.distribution.dir} #{configatron.nuget.key} -Verbosity detailed
+ nuget push "#{configatron.distribution.dir}/*.nupkg" #{configatron.nuget.key} -Verbosity detailed
)
sh(*opts) do |ok, status|

0 comments on commit 1661b04

Please sign in to comment.