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 addf1a7 Allow workflow users to set the release version
addf1a7 is described below
commit addf1a7e17cb0b228befafd081170a07dd01ed05
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Sep 5 15:15:09 2025 +0100
Allow workflow users to set the release version
---
.github/workflows/build-and-rsync-to-atr.yaml | 10 ++++++++--
pyproject.toml | 4 ++--
src/asf/example/__init__.py | 2 +-
uv.lock | 4 ++--
4 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build-and-rsync-to-atr.yaml
b/.github/workflows/build-and-rsync-to-atr.yaml
index 45bcfd5..8d9eb51 100644
--- a/.github/workflows/build-and-rsync-to-atr.yaml
+++ b/.github/workflows/build-and-rsync-to-atr.yaml
@@ -1,5 +1,11 @@
name: build-and-rsync-to-atr
-on: [workflow_dispatch]
+on:
+ workflow_dispatch:
+ inputs:
+ version:
+ description: Release version
+ required: true
+ type: string
permissions: { contents: read }
jobs:
@@ -36,4 +42,4 @@ jobs:
with:
asf-uid: sbp
project: tooling
- version: 0.3
+ version: ${{ inputs.version }}
diff --git a/pyproject.toml b/pyproject.toml
index 591cfd9..9381bf5 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-dev25"
+version = "0.0.1-dev26"
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-05T13:38:46Z"
+exclude-newer = "2025-09-05T14:14:39Z"
diff --git a/src/asf/example/__init__.py b/src/asf/example/__init__.py
index 90c7776..3d784a7 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-dev25"
+VERSION: Final[str] = "0.0.1-dev26"
class BumpMode(enum.Enum):
diff --git a/uv.lock b/uv.lock
index 17aabb8..d9f1923 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,11 +3,11 @@ revision = 3
requires-python = ">=3.13"
[options]
-exclude-newer = "2025-09-05T13:38:46Z"
+exclude-newer = "2025-09-05T14:14:39Z"
[[package]]
name = "asf-example"
-version = "0.0.1.dev25"
+version = "0.0.1.dev26"
source = { editable = "." }
dependencies = [
{ name = "pygit2" },
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]