Files
SpacetimeDB/tools
clockwork-labs-bot 00045f3d20 Publish GitHub release after release jobs (#5468)
# Description of Changes

Adds a final `publish-github-release` job to the manual release
workflow. On non-dry-run releases, it waits for all release jobs to
finish successfully or be skipped, then calls `cargo-release release
github-release`.

The new release-tool target verifies the target GitHub release is still
a draft, dispatches `attach-artifacts.yml` using the workflow URL
returned by `gh workflow run`, waits for that artifact workflow to
complete, and then publishes the release. If the release is already
published, the command exits successfully without re-uploading
artifacts.

# API and ABI breaking changes

None.

# Expected complexity level and risk

2. Workflow-only release behavior plus a new `cargo-release` target. The
risky part is release sequencing, so the workflow keeps explicit `needs`
checks and the publish logic fails before publication if artifact
attachment does not succeed.

# Testing

- [x] `ruby -e 'require "yaml";
YAML.load_file(".github/workflows/release.yml")'`
- [x] `git diff --check`
- [x]
`PATH=/Users/clockworklabs/.rustup/toolchains/1.93.0-aarch64-apple-darwin/bin:$PATH
cargo check --manifest-path tools/release/Cargo.toml`
- [x]
`PATH=/Users/clockworklabs/.rustup/toolchains/1.93.0-aarch64-apple-darwin/bin:$PATH
cargo run --manifest-path tools/release/Cargo.toml -- release
github-release --help`
- [ ] `actionlint .github/workflows/release.yml` was not run because
`actionlint` is not installed locally.

---------

Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2026-07-16 13:04:28 +00:00
..
2026-03-03 11:06:52 +00:00
2024-10-23 01:56:20 +00:00
2024-03-14 23:24:54 +00:00