Skip to content

Commit 66ef76c

Browse files
Push symbols packages
1 parent dfd4c0c commit 66ef76c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ after_build:
9090
Get-Item '*.nupkg' -exclude '*.symbols.nupkg' | ForEach-Object {
9191
Add-Content 'NuGetPush.bat' "nuget push -source https://nuget.org/ $($_.Name)"
9292
}
93+
Get-Item '*.symbols.nupkg' | ForEach-Object {
94+
Add-Content 'NuGetPush.bat' "nuget push -source https://nuget.smbsrc.net/ $($_.Name)"
95+
}
9396
cd $env:APPVEYOR_BUILD_FOLDER
9497
7z a "$nugetFolderName.zip" "$nugetFolderName\"
9598
}

buildcommon.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,16 @@
168168
<echo message="nuget push -source https://nuget.org/ ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
169169
</do>
170170
</foreach>
171+
<foreach item="File" property="filename">
172+
<in>
173+
<items>
174+
<include name="${nuget.nupackages.dir}/*.symbols.nupkg"/>
175+
</items>
176+
</in>
177+
<do>
178+
<echo message="nuget push -source https://nuget.smbsrc.net/ ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/>
179+
</do>
180+
</foreach>
171181
</target>
172182

173183
<target name="common.clean">

0 commit comments

Comments
 (0)