Skip to content

Commit

Permalink
fix: clean before build (#2787)
Browse files Browse the repository at this point in the history
Signed-off-by: at670475 <[email protected]>
  • Loading branch information
taban03 authored Feb 10, 2023
1 parent fd6aa23 commit d76e7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/prepare-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function buildPackage {
export BRANCH_NAME=${GITHUB_REF#refs/heads/}
fi
export BUILD_NUMBER=${GITHUB_RUN_NUMBER}
./gradlew $package_task
./gradlew clean $package_task
if [ ! -f "${REPO_ROOT_DIR}/${service_package}/build/distributions/${service_package}.zip" ]; then
echo "Error: failed to build ${service_package}.zip"
exit 3
Expand Down

0 comments on commit d76e7bf

Please sign in to comment.