Skip to content

Commit 34ac4e4

Browse files
saitama951iii-i
authored andcommitted
copy *.symbols.nupkg instead of *.symbols.tar.gz
dotnet-runtime-*.symbols.tar.gz is not shipped anymore so copy the symbol nupkg's instead. more details:- dotnet/runtime#111136 Signed-off-by: Sanjam Panda <[email protected]>
1 parent 5e1b2ae commit 34ac4e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dotnet-build

+6-1
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,13 @@ function build_runtime {
8484
"artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-$runtime_version-linux-$ARCH.tar.gz" \
8585
"$DOWNLOADDIR/Runtime/$aspnetcore_transport_version/dotnet-runtime-$aspnetcore_runtime_version-linux-$ARCH.tar.gz"
8686
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-$runtime_version-linux-$ARCH.tar.gz" "$OUTPUTDIR"
87-
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-symbols-linux-$ARCH-$runtime_version.tar.gz" "$OUTPUTDIR"
8887
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Host.linux-$ARCH.$runtime_version.nupkg" "$OUTPUTDIR"
88+
if ! git merge-base --is-ancestor e68313e HEAD; then
89+
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-symbols-linux-$ARCH-$runtime_version.tar.gz" "$OUTPUTDIR"
90+
else
91+
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Host.linux-$ARCH.$runtime_version.symbols.nupkg" "$OUTPUTDIR"
92+
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Runtime.linux-$ARCH.$runtime_version.symbols.nupkg" "$OUTPUTDIR"
93+
fi
8994
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Runtime.linux-$ARCH.$runtime_version.nupkg" "$OUTPUTDIR"
9095
if [ "$runtime_major_version" -lt 9 ]; then
9196
# https://github.com/dotnet/runtime/pull/91655

0 commit comments

Comments
 (0)