Skip to content

Commit

Permalink
chore(release): execute the update-copyright script in the docker con…
Browse files Browse the repository at this point in the history
…tainer with all necessary dependencies

(cherry picked from commit ef43c35)
  • Loading branch information
AndyZhang0707 committed Oct 29, 2024
1 parent 15de450 commit aa24829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/release-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ function commit_changelog() {
function update_copyright() {
version=$1

if ! "$scripts_folder/update-copyright"
PDIR=$(dirname "$scripts_folder")

if ! (docker build -t kong/update-copyright ${scripts_folder} && docker run -v ${PDIR}:/workspace --rm kong/update-copyright)
then
die "Could not update copyright file. Check logs for missing licenses, add hardcoded ones if needed"
fi
Expand Down

0 comments on commit aa24829

Please sign in to comment.