feat(justfile): scaffold fj-driven create-release + group attrs (DEV-331) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/justfile-fj-pr-create-DEV-331"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
just create-release <major|minor|hotfix>recipe per DEV-331: bumps the version (cargo+package-json), branchesrelease/v<version>, commits, pushes, opens the release PR viafj pr create --host dev.a8n.run --body-file <mktemp>, and prints the<base>/pulls/<N>URL..forgejo/workflows/create-release.yml(from the governance template) that watches for mergedrelease/v*PRs and creates the Forgejo release + tag via the API. Usessecrets.FORGEJO_PAT; adjust the secret name if this org uses a different convention.[group: '<name>']attributes (build, check, dev, format, release, test) sojust --listgroups recipes by intent.Why
DEV-331 standardizes the release loop across every project under
~/projects/a8n-run/:just create-releaseopens the PR viafj, the create-release workflow handles tagging and publishing on merge. This repo did not previously expose a release recipe, so cuts had to be done by hand.Test plan
just --listshows the recipes grouped by[build, check, dev, format, release, test]with the newcreate-releaseunderrelease.just create-release hotfixend-to-end on next release: branch + commit + push +fj pr createsucceed, the printedpulls/<N>URL opens the new PR, the post-merge workflow tags and publishesv<version>.FORGEJO_PATsecret is present in this repo / org and haswrite:repositoryscope.#DEV-331