From 43585d84e3a26d29dea283150b484861ffe23766 Mon Sep 17 00:00:00 2001 From: bmc-msft <41130664+bmc-msft@users.noreply.github.com> Date: Fri, 26 Feb 2021 19:43:04 -0500 Subject: [PATCH] handle azcopy's rename of NOTICES.txt (#602) --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe09191cf..853b17749 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -297,8 +297,13 @@ jobs: find artifacts mkdir release-artifacts cp -r src/runtime-tools src/deployment/tools - cp artifacts/azcopy/azcopy artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/linux - cp artifacts/azcopy/azcopy.exe artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/win64 + if [ -f artifacts/azcopy/NOTICE.txt ]; then + cp artifacts/azcopy/azcopy artifacts/azcopy/NOTICE.txt src/deployment/tools/linux + cp artifacts/azcopy/azcopy.exe artifacts/azcopy/NOTICE.txt src/deployment/tools/win64 + else + cp artifacts/azcopy/azcopy artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/linux + cp artifacts/azcopy/azcopy.exe artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/win64 + fi cp artifacts/agent/onefuzz-supervisor.exe src/deployment/tools/win64/ cp artifacts/agent/onefuzz-agent.exe src/deployment/tools/win64/ cp artifacts/agent/onefuzz_supervisor.pdb src/deployment/tools/win64/