Repository navigation
Reconcile source-only release docs with the inlined publisher (#379 items 4, 5) - #381
Merged
Merged
Conversation
…tems 4, 5) The docs described a source-only repo's release as the multi-target build-release-task.yml edited down (get-version -> validate-release -> github-release, expect_release_assets: false). The actual reference - the hub's own publish-release.yml, and spec/files.json appliesTo - is the opposite: a source-only repo carries no build-release-task.yml and publishes via a standalone dispatch-only publish-release.yml that inlines NBGV and action-gh-release, gated by the reusable validation task. Reconcile every occurrence to that reality: - AGENTS.md "Release Model" source-only case: the override seam does not apply; describe the standalone inlined publisher (item 4). - WORKFLOW.md section 6 source-only: no build-release-task.yml to edit down; standalone inlined publisher; de-dupe the validation-gate sentence (item 5). - WORKFLOW.md "no file target" (item at line 135) and D4.3: split source-only out of the Docker/PyPI-only expect_release_assets path - it has no release task, so expect_release_assets does not apply. - WORKFLOW.md operational case: its source-only publisher no longer cites expect_release_assets. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Reconciles the documented release model for source-only repositories with the actual reference implementation (standalone dispatch-only .github/workflows/publish-release.yml that inlines NBGV + softprops/action-gh-release), removing the prior implication that source-only repos use a trimmed-down build-release-task.yml and expect_release_assets.
Changes:
- Updates
WORKFLOW.mdto scopeexpect_release_assets: falseto no-file-target repos that still use the release task (Docker-only, PyPI-only), and to describe source-only publishing via the standalone inlined publisher. - Updates
AGENTS.md"Release Model" to state the orchestration/build override seam does not apply to source-only repos and to describe the standalone publisher shape.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| WORKFLOW.md | Refines the contract text to separate source-only publishing from release-task usage, and clarifies where expect_release_assets applies. |
| AGENTS.md | Aligns "Release Model" documentation with the standalone source-only publisher implementation. |
… publisher (#381) spec/project-types.json's sourceonly.release.tagonly check still asserted "the caller passes expect_release_assets:false" - the release-task model this PR is reconciling away. Update it (and the sibling nbgv.retained assertion) to the standalone publish-release.yml shape: inlined action-gh-release, no build-release-task.yml, no expect_release_assets. NBGV inlined to compute the tag. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From #379 (Financial-Modeling adoption), items 4 and 5 plus the three sibling occurrences of the same defect.
The mismatch
The docs described a source-only repo's release as the multi-target
build-release-task.ymledited down (get-version -> validate-release -> github-release,expect_release_assets: false). But the actual reference — the hub's ownpublish-release.yml, andspec/files.jsonappliesTo(which excludes source-only frombuild-release-task.yml) — is the opposite: a source-only repo carries nobuild-release-task.ymland publishes via a standalone dispatch-onlypublish-release.ymlthat inlinesnbgv+action-gh-release, gated by the reusable validation task.Reconciled every occurrence
build-release-task.ymlto edit down; de-duped the validation-gate sentence.expect_release_assetsgroup.expect_release_assetspath to release-task repos; source-only reaches tag-only via inlinedaction-gh-release.expect_release_assets.Verification
markdownlint clean (32 files); CRLF preserved;
expect_release_assetsfully decoupled from source-only (remaining mentions explicitly say it does not apply). The orchestration-baseline vs source-only tension is resolved by the "Release Model" case stating the seam does not apply.🤖 Generated with Claude Code