Skip to content

Bundle release docs snapshot into the customer package#17

Open
captjt wants to merge 1 commit into
mainfrom
docsite-consolidation
Open

Bundle release docs snapshot into the customer package#17
captjt wants to merge 1 commit into
mainfrom
docsite-consolidation

Conversation

@captjt

@captjt captjt commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Companion to eqtylab/governance-platform-docs#6 and eqtylab/governance-studio-infrastructure#97. release-platform-package.yaml now:

  • Mints a GitHub App token over governance-platform-docs and downloads the docs-v<version>.tar.gz snapshot named by docs.snapshotTag in the release manifest.
  • Extracts it under docs/ in governance-platform-v<version>.tar.gz and points to it from INSTALL.md (offline documentation for air-gapped customers).
  • Attaches the snapshot + checksum to the public GitHub release and lists it in the release notes.
  • Verifies docs/index.html in the package check. A missing snapshot fails publication (publish=true) but only warns on dry runs, so old versions remain re-packageable.

Before merging

Add RELEASE_APP_ID / RELEASE_APP_PRIVATE_KEY secrets to this repository (same App as infrastructure; it already has access to the docs repo).

🤖 Generated with Claude Code

Fetches the immutable docs-v<version>.tar.gz snapshot from
governance-platform-docs (docs.snapshotTag in the release manifest),
bundles it under docs/ in the connected customer package (offline docs
for air-gapped installs), attaches it to the GitHub release, verifies
docs/index.html during the package check, and mentions it in INSTALL.md
and the release notes. Missing snapshots fail publication but only warn
on dry runs.

Requires RELEASE_APP_ID / RELEASE_APP_PRIVATE_KEY secrets in this repo.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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