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 e31dea5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hack/generate-notices-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ 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

ls -l tmp/

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

0 comments on commit e31dea5

Please sign in to comment.