[BUILD][MINOR] release script should not interrupt by svn
## What changes were proposed in this pull request? When running the release script, you will be interrupted unexpectedly ``` ATTENTION! Your password for authentication realm: <https://dist.apache.org:443> ASF Committers can only be stored to disk unencrypted! You are advised to configure your system so that Subversion can store passwords encrypted, if possible. See the documentation for details. You can avoid future appearances of this warning by setting the value of the 'store-plaintext-passwords' option to either 'yes' or 'no' in '/home/spark-rm/.subversion/servers'. ----------------------------------------------------------------------- Store password unencrypted (yes/no)? ``` We can avoid it by adding `--no-auth-cache` when running svn command. ## How was this patch tested? manually verified with 2.4.0 RC5 Closes #22885 from cloud-fan/svn. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
This commit is contained in:
parent
eab39f79e4
commit
327456b482
|
@ -326,7 +326,7 @@ if [[ "$1" == "package" ]]; then
|
|||
svn add "svn-spark/${DEST_DIR_NAME}-bin"
|
||||
|
||||
cd svn-spark
|
||||
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION"
|
||||
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION" --no-auth-cache
|
||||
cd ..
|
||||
rm -rf svn-spark
|
||||
fi
|
||||
|
@ -354,7 +354,7 @@ if [[ "$1" == "docs" ]]; then
|
|||
svn add "svn-spark/${DEST_DIR_NAME}-docs"
|
||||
|
||||
cd svn-spark
|
||||
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION docs"
|
||||
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION docs" --no-auth-cache
|
||||
cd ..
|
||||
rm -rf svn-spark
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue