This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 3b797bc169a0 [SPARK-55434][INFRA] Add username and password at svn
with rm at finalize step
3b797bc169a0 is described below
commit 3b797bc169a050c9160b7cd50bc81aa7b902c98d
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Mon Feb 9 09:01:27 2026 +0900
[SPARK-55434][INFRA] Add username and password at svn with rm at finalize
step
### What changes were proposed in this pull request?
```
+ OLD_VERSION=4.2.0-preview1
+ [[ -n 4.2.0-preview1 ]]
+ echo 'Removing old version: spark-4.2.0-preview1'
Removing old version: spark-4.2.0-preview1
+ svn rm
https://dist.apache.org/repos/dist/release/spark/spark-4.2.0-preview1 -m
'Remove older 4.2 release after 4.2.0-preview2'
svn: E215004: Authentication failed and interactive prompting is disabled;
see the --force-interactive option
svn: E215004: No more credentials or we tried too many times.
Authentication failed
```
We need to set password and username.
### Why are the changes needed?
Add username and password at svn with rm at finalize step
### Does this PR introduce _any_ user-facing change?
No, dev-only.
### How was this patch tested?
Manually tested.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #54217 from HyukjinKwon/fix-release-script.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit f6031fef94f30f521000985f8bf5a3f403b31db1)
Signed-off-by: Hyukjin Kwon <[email protected]>
---
dev/create-release/release-build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/create-release/release-build.sh
b/dev/create-release/release-build.sh
index 9a83eab69460..d4099a9563ae 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -565,7 +565,7 @@ EOF
if [[ -n "$OLD_VERSION" ]]; then
echo "Removing old version: spark-$OLD_VERSION"
- svn rm
"https://dist.apache.org/repos/dist/release/spark/spark-$OLD_VERSION" -m
"Remove older $RELEASE_SERIES release after $RELEASE_VERSION"
+ svn rm
"https://dist.apache.org/repos/dist/release/spark/spark-$OLD_VERSION"
--username "$ASF_USERNAME" --password "$ASF_PASSWORD" --non-interactive -m
"Remove older $RELEASE_SERIES release after $RELEASE_VERSION"
else
echo "No previous $RELEASE_SERIES version found to remove. Manually remove
it if there is."
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]