Skip to content

feat(release): make the RC-tag push remote configurable via git_upstream_remote#788

Merged
potiuk merged 1 commit into
mainfrom
feat-release-configurable-remote
Jul 8, 2026
Merged

feat(release): make the RC-tag push remote configurable via git_upstream_remote#788
potiuk merged 1 commit into
mainfrom
feat-release-configurable-remote

Conversation

@potiuk

@potiuk potiuk commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

release-rc-cut emitted the RC-tag push as git push <upstream-remote> … with <upstream-remote> defaulting to origin and a note telling the RM to substitute it. An RM whose local remote for the upstream repo is named upstream or apache (not origin) had to hand-edit every emitted recipe. This adds a git_upstream_remote config key that release-rc-cut resolves so it emits the concrete remote name, plus a --remote per-invocation override.

Changes

  • projects/_template/release-management-config.md — new git_upstream_remote key (default origin) + note on typical values (origin, upstream, apache).
  • projects/magpie/release-management-config.md — set git_upstream_remote: upstream (Magpie's checkout uses the upstream remote for apache/magpie).
  • skills/release-rc-cut/SKILL.md — read the key in Step 1 (config table + JSON), add the --remote input, and emit the resolved concrete remote in the tag-push command. Trimmed a note to keep SKILL.md ≤500 lines.

Only release-rc-cut among the 10 release skills references a git remote name (the rest use svn/gh/aws), so no other skill changes were needed.

Test plan

  • skill-and-tool-validate passes (no new warnings; SKILL.md at 499 lines).
  • No behavior change for adopters who leave git_upstream_remote unset — still defaults to origin.

🤖 Generated with Claude Code

…eam_remote

release-rc-cut hardcoded the tag push to a substitute-it-yourself
`<upstream-remote>` placeholder defaulting to `origin`, so an RM whose
upstream remote is named `upstream` or `apache` had to hand-edit every
emitted recipe. Add a `git_upstream_remote` config key that release-rc-cut
resolves to emit the concrete remote name, plus a `--remote` per-invocation
override. Set to `upstream` in Magpie's own config; default `origin` in the
adopter template.
@potiuk potiuk merged commit 50c2b4f into main Jul 8, 2026
10 checks passed
@potiuk potiuk deleted the feat-release-configurable-remote branch July 8, 2026 18:05
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