Skip to content

Commit

Permalink
enable strict checking while copying aspnetcore-runtime.tar.gz
Browse files Browse the repository at this point in the history
The present condition fails while building .NET10 minor versions before the
arcade tooling infrastructure was introduced in aspnetcore.

Signed-off-by: Sanjam Panda <[email protected]>
  • Loading branch information
saitama951 authored and iii-i committed Jan 15, 2025
1 parent 80088f4 commit 5e1b2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotnet-build
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ function build_aspnetcore {
if [ -e "$spa_templates" ]; then
cp "$spa_templates" "$PACKAGESDIR"
fi
if [ "$aspnetcore_major_version" -lt 10 ]; then
if ! git merge-base --is-ancestor 7949421 HEAD; then
aspnetcore_tgz=artifacts/installers/$aspnetcore_conf/aspnetcore-runtime-internal-$ASPNETCORE_VERSION-linux-$ARCH.tar.gz
else
aspnetcore_tgz=artifacts/packages/$aspnetcore_conf/Shipping/aspnetcore-runtime-internal-$ASPNETCORE_VERSION-linux-$ARCH.tar.gz
fi
if [ ! -e "$aspnetcore_tgz" ]; then
if [ "$aspnetcore_major_version" -lt 10 ]; then
if ! git merge-base --is-ancestor 7949421 HEAD; then
aspnetcore_tgz=artifacts/installers/$aspnetcore_conf/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-$ARCH.tar.gz
else
aspnetcore_tgz=artifacts/packages/$aspnetcore_conf/Shipping/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-$ARCH.tar.gz
Expand Down

0 comments on commit 5e1b2ae

Please sign in to comment.