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
  • Loading branch information
AndyZhang0707 committed Oct 14, 2024
1 parent 6503581 commit 73a0a81
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 73a0a81

Please sign in to comment.