Skip to content

Commit

Permalink
Fixing nuget package creation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach committed Jan 20, 2014
1 parent 5e28bfc commit 1661b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 1661b04

Please sign in to comment.