From 07ce63ae1cf79c87ff20b546817f68aacdc40217 Mon Sep 17 00:00:00 2001 From: rthalho Date: Wed, 2 Oct 2024 12:08:37 +0200 Subject: [PATCH] chore(goreleaser): fixes generate-notices-file.sh --- hack/generate-notices-file.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hack/generate-notices-file.sh b/hack/generate-notices-file.sh index a0c0068..124da0e 100755 --- a/hack/generate-notices-file.sh +++ b/hack/generate-notices-file.sh @@ -140,10 +140,8 @@ echo "Got Report Download URL: ${report_download_url}" curl -s -S -X GET ${report_download_url} \ -H "Accept: */*" \ -H "Authorization: Bearer ${bearer_token}" \ - -o ${BLACKDUCK_PROJECT_NAME}-licenses.zip + -o tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip -mv ${BLACKDUCK_PROJECT_NAME}-licenses.zip tmp/ - -unzip -j tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip +unzip -j tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip -d tmp/ mv tmp/version-license_*.txt tmp/Black_Duck_Notices_Report.txt