Skip to content

Commit 21ff645

Browse files
committed
[SPARK-55599][BUILD] Replaces dots to hyphens in release announcement pages
### What changes were proposed in this pull request? This PR proposes to fix the file name back to with hyphens, see ``` [TXT] | spark-release-4-0-0.html | 2026-02-10 09:21 | 134K |   -- | -- | -- | -- | --   | spark-release-4-0-1.html | 2026-02-10 09:21 | 25K |     | spark-release-4-0-2.html | 2026-02-10 09:21 | 11K |     | spark-release-4.1.0.html | 2026-02-10 09:21 | 69K |   [TXT] [spark-release-4-0-0.html](https://spark.apache.org/releases/spark-release-4-0-0.html) 2026-02-10 09:21 134K [TXT] [spark-release-4-0-1.html](https://spark.apache.org/releases/spark-release-4-0-1.html) 2026-02-10 09:21 25K [TXT] [spark-release-4-0-2.html](https://spark.apache.org/releases/spark-release-4-0-2.html) 2026-02-10 09:21 11K [TXT] [spark-release-4.1.0.html](https://spark.apache.org/releases/spark-release-4.1.0.html) 2026-02-10 09:21 69K ``` at https://spark.apache.org/releases/ ### Why are the changes needed? For consistency. ### Does this PR introduce _any_ user-facing change? Virtually no. ### How was this patch tested? Will be tested in the next release. Also manually tested. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #54372 from HyukjinKwon/SPARK-55599. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit c78b1a1) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 4b884f2 commit 21ff645

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
@@ -344,7 +344,7 @@ meta:
344344
_edit_last: '4'
345345
_wpas_done_all: '1'
346346
---
347-
We are happy to announce the availability of <a href="{{site.baseurl}}/releases/spark-release-${RELEASE_VERSION}.html" title="Spark Release ${RELEASE_VERSION}">Apache Spark ${RELEASE_VERSION}</a>! Visit the <a href="{{site.baseurl}}/releases/spark-release-${RELEASE_VERSION}.html" title="Spark Release ${RELEASE_VERSION}">release notes</a> to read about the new features, or <a href="{{site.baseurl}}/downloads.html">download</a> the release today.
347+
We are happy to announce the availability of <a href="{{site.baseurl}}/releases/spark-release-${RELEASE_VERSION//./-}.html" title="Spark Release ${RELEASE_VERSION}">Apache Spark ${RELEASE_VERSION}</a>! Visit the <a href="{{site.baseurl}}/releases/spark-release-${RELEASE_VERSION//./-}.html" title="Spark Release ${RELEASE_VERSION}">release notes</a> to read about the new features, or <a href="{{site.baseurl}}/downloads.html">download</a> the release today.
348348
EOF
349349
fi
350350

@@ -402,7 +402,7 @@ You can find the list of resolved issues and detailed changes in the [JIRA relea
402402
403403
We would like to acknowledge all community members for contributing ${ACKNOWLEDGE}"
404404

405-
FILENAME="releases/_posts/${RELEASE_DATE}-spark-release-${RELEASE_VERSION}.md"
405+
FILENAME="releases/_posts/${RELEASE_DATE}-spark-release-${RELEASE_VERSION//./-}.md"
406406
mkdir -p releases/_posts
407407
cat > "$FILENAME" <<EOF
408408
---

0 commit comments

Comments
 (0)