Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 56df4da

Browse files
committed
Distribution path changed
1 parent 13801a4 commit 56df4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rakefile.include.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"#{configatron.solution.gsub(".sln", "")}#{'-Signed' if configatron.sign_assembly}"
1818
end
1919
configatron.distribution.dir = Configatron::Delayed.new do
20-
"Distribution/"
20+
ENV.include?('TEAMCITY_PROJECT_NAME') ? "Distribution/" : "../nugets"
2121
end
2222
configatron.version.full = Configatron::Delayed.new do
2323
`gitflowversion`.scan(/NugetVersion":"(.*)"/)[0][0][0,20]
@@ -108,7 +108,7 @@
108108

109109
desc "Package build artifacts as a NuGet package and a symbols package"
110110
task :createpackage => [ :default ] do
111-
FileList.new('**/*.nuspec').each do |nuspec|
111+
FileList.new('**/*.nuspec').exclude(/packages/).each do |nuspec|
112112
opts = %W(
113113
nuget pack #{nuspec} -Symbols -OutputDirectory #{configatron.distribution.dir}
114114
)

0 commit comments

Comments
 (0)