Automate release drafting and redline base from git tags (new redlines)#417
Automate release drafting and redline base from git tags (new redlines)#417SteveLLamb wants to merge 7 commits intomainfrom
Conversation
|
Refactors the redline generation in the tooling and adds a new redline output:
A new |
|
Confirmed working and releases auto generated and new redlines working in https://github.com/SMPTE/html-pub-test |
|
The terminology used for the redlines was brought up in #40 -- it would be good to address/dispose of that issue as part of this PR |
|
As commented in #312 (comment), does the AG 33 workflow mean that the redlines |
|
https://doc.smpte-doc.org/html-pub/feature/release-tag-automation says for "Redline to current draft (base-rl.html)"
This is (probably) not true unless you've changed something (I've not checked) since I wrote #389 due to a quirk in how GitHub Actions works (with the PR getting (temporarily) merged to the target branch before the code gets executed) |
Auto-create draft releases on
pubState=pubmergesWhenever a merge to main results in
pubState=pub, the tooling now auto-creates a draft GitHub release taggedYYYMMDD-{pubStage}from the doc'spubDateTime+pubStage. Editor reviews and publishes the draft, which fires the existing release-published flow (zip upload + template-repo dispatch) unchanged.The redline base is now derived from git tags rather than a hand-maintained
.smpte-build.json. WhenpubStage=PUB, against the most recent prior-pubtag (edition-to-edition); otherwise against the most recent prior dated tag of any stage (iterative draft review)..smpte-build.jsonkept as an optional override scaffold (NULLby default) so legacy docs and archival rebuilds still work.Includes a
[force-release]commit-message escape hatch for same-day workflow events (e.g. PCD opening from Pre-FCD on the same pubDateTime+pubStage) — appends -2/-3/... to the tag.Annex
sec-document-github-releasesrewritten to describe the new automated flow. To be at least partially moved to new HTML Workflow AG later.Closes #395, as it would longer apply in this workflow.