Skip to content

Commit

Permalink
copy *.symbols.nupkg instead of *.symbols.tar.gz
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
saitama951 committed Jan 16, 2025
1 parent 5e1b2ae commit 7401f72
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dotnet-build
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,13 @@ function build_runtime {
"artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-$runtime_version-linux-$ARCH.tar.gz" \
"$DOWNLOADDIR/Runtime/$aspnetcore_transport_version/dotnet-runtime-$aspnetcore_runtime_version-linux-$ARCH.tar.gz"
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-$runtime_version-linux-$ARCH.tar.gz" "$OUTPUTDIR"
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-symbols-linux-$ARCH-$runtime_version.tar.gz" "$OUTPUTDIR"
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Host.linux-$ARCH.$runtime_version.nupkg" "$OUTPUTDIR"
if ! git merge-base --is-ancestor e68313e HEAD; then
cp "artifacts/packages/$runtime_conf/Shipping/dotnet-runtime-symbols-linux-$ARCH-$runtime_version.tar.gz" "$OUTPUTDIR"
else
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Host.linux-$ARCH.$runtime_version.symbols.nupkg" "$OUTPUTDIR"
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Runtime.linux-$ARCH.$runtime_version.symbols.nupkg" "$OUTPUTDIR"
fi
cp "artifacts/packages/$runtime_conf/Shipping/Microsoft.NETCore.App.Runtime.linux-$ARCH.$runtime_version.nupkg" "$OUTPUTDIR"
if [ "$runtime_major_version" -lt 9 ]; then
# https://github.com/dotnet/runtime/pull/91655
Expand Down

0 comments on commit 7401f72

Please sign in to comment.