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 authored and ADD-SP committed Oct 17, 2024
1 parent 07b3c83 commit ef43c35
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

1 comment on commit ef43c35

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:ef43c3501175231fa3749c3d7a49b0d4e1ae8830
Artifacts available https://github.com/Kong/kong/actions/runs/11382714371

Please sign in to comment.