viirya 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_r320520832
 
 

 ##########
 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:
   hmm, when we build binary dist later, don't we run `build/spark-build-info` 
to prepare correct `spark-version-info.properties`?

----------------------------------------------------------------
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