Skip to content

ci: automated signed release on version tags - #541

Merged
Sapd merged 2 commits into
masterfrom
ci/automated-release
Jul 23, 2026
Merged

Sapd merged 2 commits into
masterfrom
ci/automated-release

Conversation

@Sapd

@Sapd Sapd commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Adds tag-triggered release automation so cutting a release is just git tag -s X.Y.Z && git push --tags.

What this does

  • build-artifacts.yml (new, reusable): the existing platform build/package matrix, extracted so it's shared.
  • continuos-release.yml: now calls the reusable build instead of inlining ~250 lines (behaviour unchanged — still updates the continuous pre-release on master).
  • release.yml (new): on a semver tag push ([0-9]+.[0-9]+.[0-9]+, no v prefix) it builds at the tag, GPG-signs every artifact, and publishes a versioned release with auto-generated notes + source tarball + binaries + .asc (no .sha256).

Requires two secrets (dedicated signing subkey — NOT the master key)

  • GPG_PRIVATE_KEY — armored export of a dedicated signing subkey
  • GPG_PASSPHRASE — its passphrase

Testing before trusting it

  1. Add the two secrets.
  2. Dispatch Continuous Build & Release from this branch to confirm the reusable-workflow refactor still builds/publishes continuous.
  3. workflow_dispatch Release with tag 4.0.0 to dry-run signing/publishing against the existing release (allowUpdates: true).

Draft until validated.

Sapd added 2 commits July 23, 2026 15:16
- Extract the platform build/package matrix into a reusable workflow
  (build-artifacts.yml) shared by continuous and release pipelines.
- continuos-release.yml now calls the reusable build instead of inlining it.
- Add release.yml: on a semver tag push (e.g. 4.0.0) it builds at the tag,
  GPG-signs every artifact with a dedicated CI signing subkey, and publishes
  a versioned release (auto-generated notes, source tarball + binaries + .asc,
  no .sha256). Requires GPG_PRIVATE_KEY and GPG_PASSPHRASE secrets.
@Sapd
Sapd marked this pull request as ready for review July 23, 2026 13:44
@Sapd
Sapd merged commit aa8deca into master Jul 23, 2026
10 checks passed
@Sapd
Sapd deleted the ci/automated-release branch July 23, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant