Skip to content

pr.sh: pull requests from a laptop, the same in every repository - #11

Merged
markope merged 1 commit into
mainfrom
central-pr-script
Oct 24, 2026
Merged

markope merged 1 commit into
mainfrom
central-pr-script

Conversation

@markope

@markope markope commented Oct 24, 2026

Copy link
Copy Markdown
Contributor
  • scripts/pr.sh (merge, release): the logic behind just merge and just release-patch|minor|major, fetched by each repository's Justfile at v1; scripts/test_pr.sh runs it against a local bare remote with stub gh/just (in the selftest scripts job).
  • release-image.yml: {tag} in build-args becomes the release tag (after a merge github.ref_name is main). The dry-run fixture fails its build when the placeholder is not replaced.
  • templates/repo/Justfile.release and README section "Pull requests from a laptop" (incl. the onboarding settings).

'just merge' and 'just release-patch|minor|major' fetch scripts/pr.sh at
v1 and run it, so the flow is maintained once: clean tree, branch must
contain origin/main, the next version from main's version (no double
bump), a release commit holding only the version files, auto-merge, and
waiting for the release run. A repository keeps only its names and a
_write-version recipe (templates/repo/Justfile.release).

release-image.yml replaces {tag} in build-args with the release tag:
after a merge github.ref_name is 'main', not the tag. The dry-run
fixture fails its build when the placeholder is not replaced.
@markope
markope merged commit 6a69662 into main Oct 24, 2026
61 checks passed
@markope
markope deleted the central-pr-script branch October 24, 2026 20:49
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