Repository navigation
ci: Add promote.yml workflow for release-candidate promotion - #338
Merged
Merged
Conversation
Ports c2pa-rs's promote.yml workflow to this single-project repo. Adapted for c2patool's non-workspace Cargo.toml: the version reset now targets only the first `version = "..."` line (the package version) instead of a global string replace, so it never touches the `c2pa` dependency's own `version = "..."` entries. Co-authored-by: Copilot App <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #338 +/- ##
=======================================
Coverage 72.16% 72.16%
=======================================
Files 4 4
Lines 1060 1060
=======================================
Hits 765 765
Misses 295 295 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
2 of 4 tasks
scouten-adobe
added a commit
that referenced
this pull request
Sep 22, 2026
…346) Ports c2pa-rs's promote.yml workflow to this single-project repo. Adapted for c2patool's non-workspace Cargo.toml: the version reset now targets only the first `version = "..."` line (the package version) instead of a global string replace, so it never touches the `c2pa` dependency's own `version = "..."` entries. Co-authored-by: Copilot App <[email protected]>
This was referenced Sep 22, 2026
Merged
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.
Ports c2pa-rs's
promote.ymlworkflow to this repo, as the manual final step of a breaking train's bake (seedocs/release-process.md).Adaptations for c2patool (single-project repo, not a workspace):
meta()version-selector helper; reads the version directly viapackages[0].version, matching this repo's other release workflows (release-rc.yml,release-train-cut.yml).version = "..."line inCargo.toml(the[package]version), rather than a global string replace -- c2patool'sCargo.tomlalso containsc2pa = { version = "...", ... }dependency entries that must be left untouched (unlike c2pa-rs, where two occurrences were deliberately kept in sync).c2patoolterminology; tag-namespace note updated toc2patool-v*.This workflow does not publish -- it resets the candidate's version and force-pushes onto
stable, lettingrelease-pr.ymlopen the reviewed version + changelog PR.Co-authored-by: Copilot App [email protected]