Skip to content

docs: point app authors at the release template that signs outside the build - #89

Merged
MotherSphere merged 1 commit into
mainfrom
docs/release-template-links
Oct 9, 2026
Merged

MotherSphere merged 1 commit into
mainfrom
docs/release-template-links

Conversation

@MotherSphere

Copy link
Copy Markdown
Member

What was wrong

Project-Colony-Resources PR #10 retires templates/release.yml and templates/sign-release.sh. That template signed inside the build jobs, where cargo build runs every dependency's build.rs and proc-macros next to the key, and COLONY_SIGNING_KEY_PEM is also the key Colony trusts for its own self-updates. Colony's docs still linked those two files (they 404 once #10 merges) and told app authors to sign with ./scripts/sign-release.sh and a local key.

What changed

  • README.md, CONTRIBUTING.md (step 3), docs/docs.md and docs/colony-spec.md link templates/sign-and-publish-caller.yml, the one release template left, and the shared signing workflow it calls.
  • docs/colony-spec.md no longer tells app authors to run a signing script: an app signs nothing itself, the shared workflow writes .sig, .meta and .meta.sig. The validate-manifest paragraph says where the template runs it (the Linux build job, before anything is signed).
  • .github/workflows/colony-rust-release.yml.template is removed. It was only a pointer to the retired template, and it told readers to copy templates/sign-release.sh.

Colony's own scripts/sign-release.sh and docs/release-signing.md are untouched: they describe Colony's manual re-signing path, not the Resources templates.

How it was verified

grep -rn 'templates/release.yml\|templates/sign-release\|colony-rust-release' over the tree prints nothing. Every new link targets a file or anchor that exists on Resources main today (templates/sign-and-publish-caller.yml, design/releases.md#shared-signing-workflow), so this can merge before or after Resources #10.

…e build

Project-Colony-Resources retires templates/release.yml and
templates/sign-release.sh: that template signed inside the build jobs,
where every dependency's build.rs and proc-macros run next to the key.
templates/sign-and-publish-caller.yml is now the only release template,
and signing happens in the organisation's shared workflow.

README, CONTRIBUTING, the docs index and the manifest spec linked the
retired files and told app authors to run sign-release.sh themselves.
They now link the caller template and say that an app signs nothing
itself. The workflows/ pointer file, which only redirected to the retired
template, is removed.
@MotherSphere
MotherSphere merged commit 13b39c2 into main Oct 9, 2026
5 checks passed
@MotherSphere
MotherSphere deleted the docs/release-template-links branch October 9, 2026 11:40
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