This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 9d88c28c72d2 [SPARK-52178][BUILD][FOLLOW-UP] Respect ANSWER for
checking tags
9d88c28c72d2 is described below
commit 9d88c28c72d2cab4772ac745bd773d08ad82f285
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Tue May 20 13:34:48 2025 +0900
[SPARK-52178][BUILD][FOLLOW-UP] Respect ANSWER for checking tags
### What changes were proposed in this pull request?
This PR is a followup of SPARK-52178 that makes release scripts respects
`ANSWER` variable.
### Why are the changes needed?
So we can release automaticlaly.
### 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 #50947 from HyukjinKwon/SPARK-52178.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit bf6fa768f5747105aaff0a1e0a0b738a3af4294c)
Signed-off-by: Hyukjin Kwon <[email protected]>
---
dev/create-release/do-release.sh | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev/create-release/do-release.sh b/dev/create-release/do-release.sh
index 90971060f42f..744290a62b0a 100755
--- a/dev/create-release/do-release.sh
+++ b/dev/create-release/do-release.sh
@@ -52,9 +52,13 @@ function should_build {
if should_build "tag" && [ $SKIP_TAG = 0 ]; then
run_silent "Creating release tag $RELEASE_TAG..." "tag.log" \
"$SELF/release-tag.sh"
- echo "It may take some time for the tag to be synchronized to github."
- echo "Press enter when you've verified that the new tag ($RELEASE_TAG) is
available."
- read
+ if [ -z "$ANSWER" ]; then
+ echo "It may take some time for the tag to be synchronized to github."
+ echo "Press enter when you've verified that the new tag ($RELEASE_TAG) is
available."
+ read
+ else
+ sleep 10
+ fi
else
echo "Skipping tag creation for $RELEASE_TAG."
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]