feat(justfile): fj-driven create-release + group attrs (DEV-331) #49

Merged
David merged 1 commit from feat/justfile-fj-pr-create-DEV-331 into main 2026-05-21 13:33:05 +02:00
Owner

Summary

  • Replace the trailing print-the-compare-URL block in just create-release with fj pr create --host dev.a8n.run --body-file <mktemp> per DEV-331. The recipe now opens the release PR itself and prints the resulting <base>/pulls/<N> URL.
  • Add [group: '<name>'] attributes (build,checks dev,hooks release,run) so just --list groups recipes by intent.

Why

DEV-331 calls out "open the URL and click through" as the only manual stop in the release loop. fj already handles auth, body files, and --host, so the recipe can open the PR itself. The grouping change is from the same task ("In the process, add groups to any justfile that does not have it.") so both edits land in one PR.

Test plan

  • just --list shows the recipes grouped by [build,checks dev,hooks release,run].
  • just create-release hotfix end-to-end on next release: branch + commit + push + fj pr create succeed, the printed pulls/<N> URL opens the new PR, the post-merge .forgejo/workflows/create-release.yml workflow still tags and releases.

#DEV-331

## Summary - Replace the trailing print-the-compare-URL block in `just create-release` with `fj pr create --host dev.a8n.run --body-file <mktemp>` per DEV-331. The recipe now opens the release PR itself and prints the resulting `<base>/pulls/<N>` URL. - Add `[group: '<name>']` attributes (build,checks dev,hooks release,run) so `just --list` groups recipes by intent. ## Why DEV-331 calls out "open the URL and click through" as the only manual stop in the release loop. `fj` already handles auth, body files, and `--host`, so the recipe can open the PR itself. The grouping change is from the same task ("In the process, add groups to any justfile that does not have it.") so both edits land in one PR. ## Test plan - [x] `just --list` shows the recipes grouped by `[build,checks dev,hooks release,run]`. - [ ] `just create-release hotfix` end-to-end on next release: branch + commit + push + `fj pr create` succeed, the printed `pulls/<N>` URL opens the new PR, the post-merge `.forgejo/workflows/create-release.yml` workflow still tags and releases. #DEV-331
feat(justfile): fj-driven create-release + group attrs (DEV-331)
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 19s
Create release / Create release from merged PR (pull_request) Has been skipped
97d270bff7
Swap the trailing print-the-compare-URL block in `just create-release` for `fj pr create --host dev.a8n.run --body-file <tmp>` per DEV-331, so the recipe opens the release PR itself and prints the resulting `<base>/pulls/<N>` URL.

Add `[group: ...]` attributes (build,checks dev,hooks release,run) so `just --list` groups recipes by intent instead of one alphabetical wall.

Signed-off-by: David Randall <David@NiceGuyIT.biz>

#DEV-331
David merged commit 91a88d2b58 into main 2026-05-21 13:33:05 +02:00
David deleted branch feat/justfile-fj-pr-create-DEV-331 2026-05-21 13:33:05 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pandoras-box/youtrack-cli!49
No description provided.