Skip to content

Commit

Permalink
chore(goreleaser): keep git state clean when generating notices file
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalgalaw committed Oct 2, 2024
1 parent 175ca46 commit 11e8699
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hack/generate-notices-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ curl -s -S -X GET ${report_download_url} \
-H "Authorization: Bearer ${bearer_token}" \
-o ${BLACKDUCK_PROJECT_NAME}-licenses.zip

unzip -j ${BLACKDUCK_PROJECT_NAME}-licenses.zip
mv ${BLACKDUCK_PROJECT_NAME}-licenses.zip tmp/

mv version-license_*.txt tmp/Black_Duck_Notices_Report.txt
unzip -j tmp/${BLACKDUCK_PROJECT_NAME}-licenses.zip

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

0 comments on commit 11e8699

Please sign in to comment.