Skip to content

Commit 3ed2e8c

Browse files
cloud-fangatorsmile
authored andcommitted
[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 <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
1 parent 88e0791 commit 3ed2e8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/create-release/release-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if [[ "$1" == "package" ]]; then
330330
svn add "svn-spark/${DEST_DIR_NAME}-bin"
331331

332332
cd svn-spark
333-
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION"
333+
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION" --no-auth-cache
334334
cd ..
335335
rm -rf svn-spark
336336
fi
@@ -358,7 +358,7 @@ if [[ "$1" == "docs" ]]; then
358358
svn add "svn-spark/${DEST_DIR_NAME}-docs"
359359

360360
cd svn-spark
361-
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION docs"
361+
svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Apache Spark $SPARK_PACKAGE_VERSION docs" --no-auth-cache
362362
cd ..
363363
rm -rf svn-spark
364364
fi

0 commit comments

Comments
 (0)