kiszk commented on a change in pull request #25655: [SPARK-28906][Build] Fix 
incorrect information in bin/spark-submit --version
URL: https://github.com/apache/spark/pull/25655#discussion_r320785964
 
 

 ##########
 File path: dev/create-release/release-build.sh
 ##########
 @@ -179,7 +178,7 @@ if [[ "$1" == "package" ]]; then
     rm -r spark-$SPARK_VERSION/licenses-binary
   fi
 
-  tar cvzf spark-$SPARK_VERSION.tgz spark-$SPARK_VERSION
+  tar cvzf spark-$SPARK_VERSION.tgz --exclude spark-$SPARK_VERSION/.git 
spark-$SPARK_VERSION
 
 Review comment:
   If we do not need ro run `build/spark-build-info` later, how to prepare the 
correct `spark-version-info.properties` to show the correct information in 
`bin/spark-submit --version`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to