Version-aware branch naming (X.Y.Z.Q/{TASK_CODE}-{FEATURE}-{SEQ}),
branch creation from origin/test with origin/main fallback, and the
PR-into-test merge rule. Ships a TypeScript CLI (next, create) plus
shell modules (loggers, base, cli) run via Taskfile.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
30 lines
772 B
YAML
30 lines
772 B
YAML
# https://taskfile.dev
|
|
|
|
version: "3"
|
|
|
|
tasks:
|
|
build:
|
|
desc: Compile TypeScript source to dist/
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/build.sh {{ .CLI_ARGS }}
|
|
silent: true
|
|
|
|
next:
|
|
desc: |
|
|
Compute the next branch name (X.Y.Z.Q/{TASK_MANAGEMENT_CODE}-{FEATURE_X}-{SEQ}).
|
|
Usage: task cli:next -- --task-key="IIAA-123" --topic="api-cleanup" [--base=…] [--repo-dir=…]
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/next.sh {{ .CLI_ARGS }}
|
|
silent: true
|
|
|
|
create:
|
|
desc: |
|
|
Compute and create the next branch locally (never pushes).
|
|
Usage: task cli:create -- --task-key="IIAA-123" --topic="api-cleanup" [--base=…] [--repo-dir=…]
|
|
cmds:
|
|
- |
|
|
./.scripts/cli/api/create.sh {{ .CLI_ARGS }}
|
|
silent: true
|