handle azcopy's rename of NOTICES.txt (#602)

This commit is contained in:
bmc-msft
2021-02-26 19:43:04 -05:00
committed by GitHub
parent 6a82f57c4a
commit 43585d84e3

View File

@ -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/