This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 3842c24d5 docs: add template for announcement email (#2138)
3842c24d5 is described below

commit 3842c24d58aebed6893d95deec4c72ab69c84cd2
Author: David Li <[email protected]>
AuthorDate: Mon Sep 9 16:26:31 2024 +0900

    docs: add template for announcement email (#2138)
    
    Fixes #2136.
---
 dev/release/post-09-announce.sh                    | 79 ++++++++++++++++++++++
 ...rtifacts.sh => post-10-remove-old-artifacts.sh} |  0
 ...0-bump-versions.sh => post-11-bump-versions.sh} |  0
 .../{post-11-website.sh => post-12-website.sh}     |  0
 docs/source/development/releasing.rst              | 22 ++++--
 5 files changed, 94 insertions(+), 7 deletions(-)

diff --git a/dev/release/post-09-announce.sh b/dev/release/post-09-announce.sh
new file mode 100755
index 000000000..c77bf7bc9
--- /dev/null
+++ b/dev/release/post-09-announce.sh
@@ -0,0 +1,79 @@
+#!/usr/bin/env bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+set -ue
+
+SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+source "${SOURCE_DIR}/utils-common.sh"
+source "${SOURCE_DIR}/utils-prepare.sh"
+
+main() {
+
+    set_resolved_issues "${RELEASE}"
+
+    cat <<EOF
+To: [email protected]
+CC: [email protected]
+Subject: [ANNOUNCE] Apache Arrow ADBC ${RELEASE} Released
+
+The Apache Arrow community is pleased to announce the a new release of
+the Apache Arrow ADBC libraries. It includes ${RESOLVED_ISSUES} resolved 
GitHub issues
+([1]). Individual components are versioned separately: some packages
+are on version ${VERSION_NATIVE} and others are now version ${VERSION_JAVA}, 
with the
+release as a whole on version '${RELEASE}'.
+
+The release is available now from [2] and [3].
+
+Release notes are available at:
+https://github.com/apache/arrow-adbc/blob/apache-arrow-adbc-${RELEASE}/CHANGELOG.md
+
+What is Apache Arrow?
+---------------------
+Apache Arrow is a columnar in-memory analytics layer designed to
+accelerate big data. It houses a set of canonical in-memory
+representations of flat and hierarchical data along with multiple
+language-bindings for structure manipulation. It also provides
+low-overhead streaming and batch messaging, zero-copy interprocess
+communication (IPC), and vectorized in-memory analytics
+libraries. Languages currently supported include C, C++, C#, Go, Java,
+JavaScript, Julia, MATLAB, Python, R, Ruby, and Rust.
+
+What is Apache Arrow ADBC?
+--------------------------
+ADBC is a database access abstraction for Arrow-based applications. It
+provides a cross-language API for working with databases while using
+Arrow data, providing an alternative to APIs like JDBC and ODBC for
+analytical applications. For more, see [4].
+
+Please report any feedback to the mailing lists ([5], [6]).
+
+Regards,
+The Apache Arrow Community
+
+[1]: 
https://github.com/apache/arrow-adbc/issues?q=is%3Aissue+milestone%3A%22ADBC+Libraries+${RELEASE}%22+is%3Aclosed
+[2]: https://arrow.apache.org/adbc/current/driver/installation.html
+[3]: https://apache.jfrog.io/ui/native/arrow
+[4]: https://arrow.apache.org/blog/2023/01/05/introducing-arrow-adbc/
+[5]: https://lists.apache.org/[email protected]
+[6]: https://lists.apache.org/[email protected]
+EOF
+
+}
+
+main "$@"
diff --git a/dev/release/post-09-remove-old-artifacts.sh 
b/dev/release/post-10-remove-old-artifacts.sh
similarity index 100%
rename from dev/release/post-09-remove-old-artifacts.sh
rename to dev/release/post-10-remove-old-artifacts.sh
diff --git a/dev/release/post-10-bump-versions.sh 
b/dev/release/post-11-bump-versions.sh
similarity index 100%
rename from dev/release/post-10-bump-versions.sh
rename to dev/release/post-11-bump-versions.sh
diff --git a/dev/release/post-11-website.sh b/dev/release/post-12-website.sh
similarity index 100%
rename from dev/release/post-11-website.sh
rename to dev/release/post-12-website.sh
diff --git a/docs/source/development/releasing.rst 
b/docs/source/development/releasing.rst
index b6d2de271..d370ae27f 100644
--- a/docs/source/development/releasing.rst
+++ b/docs/source/development/releasing.rst
@@ -417,9 +417,17 @@ Be sure to go through on the following checklist:
    :class-title: sd-fs-5
    :class-container: sd-shadow-md
 
-   Write a release announcement (see `example 
<https://lists.apache.org/thread/6rkjwvyjjfodrxffllh66pcqnp729n3k>`_) and send 
to [email protected] and [email protected].
+   Write a release announcement and send to [email protected] and
+   [email protected].
 
-   The announcement to [email protected] must be sent from your apache.org 
e-mail address to be accepted.
+   The announcement to [email protected] must be sent from your apache.org
+   e-mail address to be accepted.
+
+   Template:
+
+   .. code-block:: Bash
+
+      dev/release/post-09-announce.sh
 
 .. dropdown:: Remove old artifacts
    :class-title: sd-fs-5
@@ -429,7 +437,7 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      dev/release/post-09-remove-old-artifacts.sh
+      dev/release/post-10-remove-old-artifacts.sh
 
 .. dropdown:: Bump versions
    :class-title: sd-fs-5
@@ -439,8 +447,8 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      # dev/release/post-10-bump-versions.sh ../arrow
-      dev/release/post-10-bump-versions.sh <arrow-dir>
+      # dev/release/post-11-bump-versions.sh ../arrow
+      dev/release/post-11-bump-versions.sh <arrow-dir>
 
 .. dropdown:: Publish release blog post
    :class-title: sd-fs-5
@@ -452,7 +460,7 @@ Be sure to go through on the following checklist:
 
    .. code-block:: Bash
 
-      # dev/release/post-11-website.sh ../arrow-site
-      dev/release/post-11-website.sh <arrow-site-dir>
+      # dev/release/post-12-website.sh ../arrow-site
+      dev/release/post-12-website.sh <arrow-site-dir>
 
 .. _nightly-website.yml: 
https://github.com/apache/arrow-adbc/actions/workflows/nightly-website.yml

Reply via email to