You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-52584][BUILD] Make build script to support preview releases in finalize step
### What changes were proposed in this pull request?
This PR proposes to make release script to support preview releases as well.
### Why are the changes needed?
To make the release easier.
### Does this PR introduce _any_ user-facing change?
No, dev-only.
### How was this patch tested?
Manually tested against spark-website.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#51291 from HyukjinKwon/SPARK-52584.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
The documentation is available at the <a href="https://spark.apache.org/docs/${RELEASE_VERSION}/">link</a>.
328
+
329
+
We'd like to thank our contributors and users for their contributions and early feedback to this release. This release would not have been possible without you.
330
+
EOF
331
+
332
+
else
333
+
cat >"$FILENAME"<<EOF
264
334
---
265
335
layout: post
266
336
title: Spark ${RELEASE_VERSION} released
@@ -276,16 +346,20 @@ meta:
276
346
---
277
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.
278
348
EOF
349
+
fi
279
350
280
351
echo"Created $FILENAME"
281
352
282
353
# 4. Add release notes with Python to extract JIRA version ID
283
-
RELEASE_DATE=$(TZ=America/Los_Angeles date +"%Y-%m-%d")
ACKNOWLEDGE="patches and features to this release."
319
-
BODY="Apache Spark ${RELEASE_VERSION} is a new feature release. It introduces new functionality and improvements. We encourage users to try it and provide feedback."
320
-
else
321
-
ACKNOWLEDGE="patches to this release."
322
-
BODY="Apache Spark ${RELEASE_VERSION} is a maintenance release containing security and correctness fixes. This release is based on the branch-${rel_maj}.${rel_min} maintenance branch of Spark. We strongly recommend all ${rel_maj}.${rel_min} users to upgrade to this stable release."
ACKNOWLEDGE="patches and features to this release."
393
+
BODY="Apache Spark ${RELEASE_VERSION} is a new feature release. It introduces new functionality and improvements. We encourage users to try it and provide feedback."
394
+
else
395
+
ACKNOWLEDGE="patches to this release."
396
+
BODY="Apache Spark ${RELEASE_VERSION} is a maintenance release containing security and correctness fixes. This release is based on the branch-${rel_maj}.${rel_min} maintenance branch of Spark. We strongly recommend all ${rel_maj}.${rel_min} users to upgrade to this stable release."
397
+
fi
324
398
325
-
BODY+="
399
+
BODY+="
326
400
327
401
You can find the list of resolved issues and detailed changes in the [JIRA release notes](${JIRA_LINK}).
328
402
329
403
We would like to acknowledge all community members for contributing ${ACKNOWLEDGE}"
0 commit comments