From ee79a3d1a8829ddae546b35fdc2acd800b845ea4 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Tue, 13 Jun 2017 02:18:24 -0700 Subject: [PATCH] Update whitesource report on release (#23146) --- project/scripts/release | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/project/scripts/release b/project/scripts/release index cb099e7449..13dd2bf7f1 100755 --- a/project/scripts/release +++ b/project/scripts/release @@ -304,6 +304,8 @@ if [ ! $no_mima ] && [ $dry_run ]; then echodry "Finished migration manager report" fi +try sbt whitesourceCheckPolicies + # commit and tag this release echolog "Committing and tagging..." try git add . @@ -347,6 +349,14 @@ else important git push origin --tags fi +echolog "Uploading whitesource report" +if [ $dry_run ]; then + echodry "Not actually uploading whitesource report. Commands:" + echodry " sbt whitesourceUpdate" +else + important sbt whitesourceUpdate +fi + # push the release to the server echolog "Pushing ${release_dir} to ${publish_path} ..." if [ $dry_run ]; then