From 260554fde9254da2ff5df9b8a188843e90ccd4a9 Mon Sep 17 00:00:00 2001 From: Congxian Qiu Date: Tue, 10 Sep 2024 18:45:15 +0800 Subject: [PATCH] [AMORO-3186] Force check git dir when creating release binary (#3187) --- tools/releasing/create_binary_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh index ea82fd9f07..0d801126d5 100644 --- a/tools/releasing/create_binary_release.sh +++ b/tools/releasing/create_binary_release.sh @@ -65,7 +65,7 @@ make_binary_release() { echo "Creating ${HADOOP_VERSION} binary release" # enable release profile here (to check for the maven version) - $MVN clean package ${HADOOP_PROFILE} -Pno-extended-disk-storage -pl ':dist' -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests + $MVN clean package ${HADOOP_PROFILE} -Pno-extended-disk-storage -Pfail-on-no-git-dir -pl ':dist' -am -Dgpg.skip -Dcheckstyle.skip=true -DskipTests local TARGET_FILE="apache-amoro-${RELEASE_VERSION}-bin-${HADOOP_VERSION}.tar.gz" cp dist/target/apache-amoro-${RELEASE_VERSION}-bin.tar.gz ${RELEASE_DIR}/${TARGET_FILE}