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

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-asf-example.git


The following commit(s) were added to refs/heads/main by this push:
     new 64c0592  Add a workflow to use ATR to announce a release
64c0592 is described below

commit 64c0592b99cbda7c718fcf73f4979fc3de4f3ece
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Sep 5 14:10:47 2025 +0100

    Add a workflow to use ATR to announce a release
---
 .github/workflows/announce-release-on-atr.yaml | 55 ++++++++++++++++++++++++++
 pyproject.toml                                 |  4 +-
 src/asf/example/__init__.py                    |  2 +-
 uv.lock                                        |  4 +-
 4 files changed, 60 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/announce-release-on-atr.yaml 
b/.github/workflows/announce-release-on-atr.yaml
new file mode 100644
index 0000000..6e56c82
--- /dev/null
+++ b/.github/workflows/announce-release-on-atr.yaml
@@ -0,0 +1,55 @@
+name: announce-release-on-atr
+on:
+  workflow_dispatch:
+    inputs:
+      version:
+        description: Release version
+        required: true
+        type: string
+      announce_revision:
+        description: Revision number to announce
+        required: true
+        type: string
+      announce_email_to:
+        description: Announcement recipient mailing list address
+        required: true
+        type: string
+      announce_subject:
+        description: Announcement email subject
+        required: true
+        type: string
+      announce_body:
+        description: Announcement email body
+        required: true
+        type: string
+      announce_path_suffix:
+        description: Download path suffix
+        required: true
+        type: string
+
+permissions: { contents: read }
+
+jobs:
+  announce-release:
+    runs-on: ubuntu-22.04
+    permissions:
+      id-token: write
+      contents: read
+
+    steps:
+      - name: Checkout (shallow, no persisted credentials)
+        uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
+        with:
+          fetch-depth: 1
+          persist-credentials: false
+
+      - name: Announce release on ATR
+        uses: 
apache/tooling-actions/release-on-atr@069a1104d7901d8491422b71f8e9fbe8674ecf50
+        with:
+          version: ${{ inputs.version }}
+          announce: 'true'
+          announce-revision: ${{ inputs.announce_revision }}
+          announce-email-to: ${{ inputs.announce_email_to }}
+          announce-subject: ${{ inputs.announce_subject }}
+          announce-body: ${{ inputs.announce_body }}
+          announce-path-suffix: ${{ inputs.announce_path_suffix }}
diff --git a/pyproject.toml b/pyproject.toml
index 88e0336..e6496d9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
 [project]
 name            = "asf-example"
 # This is automatically updated
-version         = "0.0.1-dev22"
+version         = "0.0.1-dev23"
 description     = "Example package for ASF Tooling"
 readme          = "README.md"
 requires-python = ">=3.13"
@@ -48,4 +48,4 @@ select = [
 
 [tool.uv]
 # This is automatically updated
-exclude-newer = "2025-09-04T17:32:34Z"
+exclude-newer = "2025-09-05T13:09:13Z"
diff --git a/src/asf/example/__init__.py b/src/asf/example/__init__.py
index 4644a77..75755ed 100644
--- a/src/asf/example/__init__.py
+++ b/src/asf/example/__init__.py
@@ -37,7 +37,7 @@ import tomlkit.items
 
 PROJECT: Final[str] = "asf-example"
 # This is automatically updated
-VERSION: Final[str] = "0.0.1-dev22"
+VERSION: Final[str] = "0.0.1-dev23"
 
 
 class BumpMode(enum.Enum):
diff --git a/uv.lock b/uv.lock
index 24ee394..419b671 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,11 +3,11 @@ revision = 3
 requires-python = ">=3.13"
 
 [options]
-exclude-newer = "2025-09-04T17:32:34Z"
+exclude-newer = "2025-09-05T13:09:13Z"
 
 [[package]]
 name = "asf-example"
-version = "0.0.1.dev22"
+version = "0.0.1.dev23"
 source = { editable = "." }
 dependencies = [
     { name = "pygit2" },


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to