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 90a380e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/release-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ function commit_changelog() {
function update_copyright() {
version=$1

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

if ! (docker build -t kong/update-copyright ${DIR} && 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 90a380e

Please sign in to comment.