This is an automated email from the ASF dual-hosted git repository.

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 260554fde [AMORO-3186] Force check git dir when creating release 
binary (#3187)
260554fde is described below

commit 260554fde9254da2ff5df9b8a188843e90ccd4a9
Author: Congxian Qiu <[email protected]>
AuthorDate: Tue Sep 10 18:45:15 2024 +0800

    [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 ea82fd9f0..0d801126d 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}

Reply via email to