Skip to content

Commit f084c2b

Browse files
authored
chore(goreleaser): fixes generate-notices-file.sh (#179)
see title
1 parent d871d04 commit f084c2b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hack/generate-notices-file.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,8 @@ echo "Got Report Download URL: ${report_download_url}"
140140
curl -s -S -X GET ${report_download_url} \
141141
-H "Accept: */*" \
142142
-H "Authorization: Bearer ${bearer_token}" \
143-
-o ${BLACKDUCK_PROJECT_NAME}-licenses.zip
143+
-o tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip
144144

145-
mv ${BLACKDUCK_PROJECT_NAME}-licenses.zip tmp/
146-
147-
unzip -j tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip
145+
unzip -j tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip -d tmp/
148146

149147
mv tmp/version-license_*.txt tmp/Black_Duck_Notices_Report.txt

0 commit comments

Comments
 (0)