Skip to content

Commit

Permalink
[AMORO-3186] Force check git dir when creating release binary (#3187)
Browse files Browse the repository at this point in the history
  • Loading branch information
klion26 committed Sep 10, 2024
1 parent 62a095f commit 260554f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/releasing/create_binary_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 260554f

Please sign in to comment.