Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Do not push nugets no more.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwertheim committed Feb 24, 2012
1 parent 490d11b commit 6358ca3
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions Deploy/rake-build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,14 @@
@env_buildnameKiwiMarkdown = "#{@env_projectnameKiwiMarkdown}-v#{@env_buildversion}-#{@env_buildconfigname}"
@env_buildnameKiwiMvc3 = "#{@env_projectnameKiwiMvc3}-v#{@env_buildversion}-#{@env_buildconfigname}"
#--------------------------------------
#optional if no remote nuget actions should be performed
@env_nugetPublishApiKey = ENV['env_nugetPublishApiKey']
@env_nugetPublishUrl = ENV['env_nugetPublishUrl']
@env_nugetSourceUrl = ENV['env_nugetSourceUrl']
#--------------------------------------
# Reusable vars
#--------------------------------------
kiwiMarkdownOutputPath = "#{@env_buildfolderpath}/#{@env_projectnameKiwiMarkdown}"
kiwiMvc3OutputPath = "#{@env_buildfolderpath}/#{@env_projectnameKiwiMvc3}"
#--------------------------------------
# Albacore flow controlling tasks
#--------------------------------------
task :ci => [:buildIt, :copyKiwiMarkdown, :copyKiwiMvc3, :testIt, :zipIt, :packIt, :publishIt]
task :ci => [:buildIt, :copyKiwiMarkdown, :copyKiwiMvc3, :testIt, :zipIt, :packIt]

task :local => [:buildIt, :copyKiwiMarkdown, :copyKiwiMvc3, :testIt, :zipIt, :packIt]
#--------------------------------------
Expand All @@ -44,8 +39,6 @@
task :zipIt => [:zipKiwiMarkdown, :zipKiwiMvc3]

task :packIt => [:packKiwiMarkdownNuGet, :packKiwiMvc3NuGet]

task :publishIt => [:publishKiwiMarkdownNuGet, :publishKiwiMvc3NuGet]
#--------------------------------------
# Albacore tasks
#--------------------------------------
Expand Down Expand Up @@ -113,14 +106,4 @@
exec :packKiwiMvc3NuGet do |cmd|
cmd.command = "NuGet.exe"
cmd.parameters = "pack #{@env_projectnameKiwiMvc3}.nuspec -version #{@env_version} -basepath #{kiwiMvc3OutputPath} -outputdirectory #{@env_buildfolderpath}"
end

exec :publishKiwiMarkdownNuGet do |cmd|
cmd.command = "NuGet.exe"
cmd.parameters = "push #{@env_buildfolderpath}/#{@env_projectnameKiwiMarkdown}.#{@env_version}.nupkg #{@env_nugetPublishApiKey} -src #{@env_nugetPublishUrl}"
end

exec :publishKiwiMvc3NuGet do |cmd|
cmd.command = "NuGet.exe"
cmd.parameters = "push #{@env_buildfolderpath}/#{@env_projectnameKiwiMvc3}.#{@env_version}.nupkg #{@env_nugetPublishApiKey} -src #{@env_nugetPublishUrl}"
end

0 comments on commit 6358ca3

Please sign in to comment.