From 0991fae9716cd0e9a53fa6f86d5c0b32aaa5dea7 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 4 Oct 2022 08:17:03 +0200 Subject: [PATCH] [net7.0] [devops] Don't fail building nugets if we dno't have files of every possible extension. (#16221) Depending on the enabled platforms, we might not have files with all the listed extensions. --- tools/devops/automation/scripts/bash/build-nugets.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/devops/automation/scripts/bash/build-nugets.sh b/tools/devops/automation/scripts/bash/build-nugets.sh index 72246b1bfb..bd415faa41 100755 --- a/tools/devops/automation/scripts/bash/build-nugets.sh +++ b/tools/devops/automation/scripts/bash/build-nugets.sh @@ -19,6 +19,6 @@ cp -c "$DOTNET_NUPKG_DIR"/SignList.targets ../package/ DOTNET_PKG_DIR=$(make -C tools/devops print-abspath-variable VARIABLE=DOTNET_PKG_DIR | grep "^DOTNET_PKG_DIR=" | sed -e 's/^DOTNET_PKG_DIR=//') make -C dotnet package -j -cp -c "$DOTNET_PKG_DIR"/*.pkg ../package/ -cp -c "$DOTNET_PKG_DIR"/*.msi ../package/ -cp -c "$DOTNET_PKG_DIR"/*.zip ../package/ +cp -c "$DOTNET_PKG_DIR"/*.pkg ../package/ || true +cp -c "$DOTNET_PKG_DIR"/*.msi ../package/ || true +cp -c "$DOTNET_PKG_DIR"/*.zip ../package/ || true