Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
path: packages/aws-durable-execution-sdk-python-testing
- name: aws-durable-execution-sdk-python-telemetry-exporter
path: packages/aws-durable-execution-sdk-python-telemetry-exporter
- name: aws-durable-execution-sdk-python-extras
path: packages/aws-durable-execution-sdk-python-extras
- name: aws-durable-execution-sdk-python-compute-worker
path: packages/aws-durable-execution-sdk-python-compute-worker

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -67,6 +71,8 @@ jobs:
- name: aws-durable-execution-sdk-python-otel
- name: aws-durable-execution-sdk-python-testing
- name: aws-durable-execution-sdk-python-telemetry-exporter
- name: aws-durable-execution-sdk-python-extras
- name: aws-durable-execution-sdk-python-compute-worker
permissions:
id-token: write

Expand Down
13 changes: 12 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This monorepo contains the following packages:
| `aws-durable-execution-sdk-python-otel` | `packages/aws-durable-execution-sdk-python-otel` | `otel` |
| `aws-durable-execution-sdk-python-testing` | `packages/aws-durable-execution-sdk-python-testing` | `testing` |
| `aws-durable-execution-sdk-python-telemetry-exporter` | `packages/aws-durable-execution-sdk-python-telemetry-exporter` | `telemetry-exporter` |
| `aws-durable-execution-sdk-python-extras` | `packages/aws-durable-execution-sdk-python-extras` | `extras` |
| `aws-durable-execution-sdk-python-compute-worker` | `packages/aws-durable-execution-sdk-python-compute-worker` | `compute-worker` |

## Versioning

Expand All @@ -21,6 +23,8 @@ Each package maintains its own version in its respective `__about__.py` file:
- OTel: `packages/aws-durable-execution-sdk-python-otel/src/aws_durable_execution_sdk_python_otel/__about__.py`
- Testing: `packages/aws-durable-execution-sdk-python-testing/src/aws_durable_execution_sdk_python_testing/__about__.py`
- Telemetry Exporter: `packages/aws-durable-execution-sdk-python-telemetry-exporter/src/aws_durable_execution_sdk_python_telemetry_exporter/__about__.py`
- Extras: `packages/aws-durable-execution-sdk-python-extras/src/aws_durable_execution_sdk_python_extras/__about__.py`
- Compute Worker: `packages/aws-durable-execution-sdk-python-compute-worker/src/aws_durable_execution_sdk_python_compute_worker/__about__.py`

Set the release version in the appropriate `__about__.py` file(s) and merge to
`main` before creating a release. Use a new version for an existing distribution,
Expand All @@ -34,6 +38,8 @@ The GitHub `pypi` environment permits deployments only from **tags** matching:
- `otel-v*`
- `testing-v*`
- `telemetry-exporter-v*`
- `extras-v*`
- `compute-worker-v*`

Branches, including `main` and temporary publishing branches, are not allowed.
GitHub checks the workflow run's ref; checking out an allowed tag or a merged
Expand Down Expand Up @@ -184,6 +190,8 @@ The tag should be the version of the package being bumped, prepended with a desc
- **OTel only:** `otel-v<version>` (e.g., `otel-v0.3.0`)
- **Testing only:** `testing-v<version>` (e.g., `testing-v1.2.1`)
- **Telemetry Exporter only:** `telemetry-exporter-v<version>` (e.g., `telemetry-exporter-v1.0.0`)
- **Extras only:** `extras-v<version>` (e.g., `extras-v0.1.0`)
- **Compute Worker only:** `compute-worker-v<version>` (e.g., `compute-worker-v0.0.1`)
- **Multiple packages in a single release:** comma-separate the sub-tags (e.g., `sdk-v1.6.0,otel-v0.3.0`)

Examples:
Expand All @@ -193,6 +201,8 @@ sdk-v1.6.0
otel-v0.3.0
testing-v1.2.1
telemetry-exporter-v1.0.0
extras-v0.1.0
compute-worker-v0.0.1
sdk-v1.6.0,otel-v0.3.0
```

Expand Down Expand Up @@ -360,7 +370,8 @@ Before publishing a release:
ruleset
- [ ] Release notes written with separate sections per package
- [ ] Tag follows the naming convention (`sdk-vX.Y.Z`, `otel-vX.Y.Z`, `testing-vX.Y.Z`,
`telemetry-exporter-vX.Y.Z`, or comma-separated)
`telemetry-exporter-vX.Y.Z`, `extras-vX.Y.Z`, `compute-worker-vX.Y.Z`,
or comma-separated)

After publishing a release:

Expand Down
Loading