{"modulePath":"github.com/Agent-Field/codeaf","version":"v0.8.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\ncodeaf-release resolves release tags and channel retention for the release workflow.\n\nIt is not shipped. Like cmd/codeaf-changes this is a developer's binary and never a verb on codeaf, so release policy can be checked without adding to the product's SIZE-BUDGET.\n\nUsage:\n\n\tcodeaf-release next --channel stable|rc [--component patch|minor|major]\n\tcodeaf-release next --channel dev|staging --sha \u003ccommit\u003e --date YYYYMMDD\n\tcodeaf-release kind \u003ctag\u003e\n\tcodeaf-release prune --channel dev|staging\n\n## Types\n\n```go\ntype PromotionChange struct {\n\tSHA     string `json:\"sha\"`\n\tSubject string `json:\"subject\"`\n}\n```\nPromotionChange retains commit subjects with the plan so the report describes the checked candidate.\n\n```go\ntype PromotionPlan struct {\n\tOutcome   string            `json:\"outcome\"`\n\tCandidate string            `json:\"candidate\"`\n\tStaging   string            `json:\"staging\"`\n\tMain      string            `json:\"main\"`\n\tCoverage  string            `json:\"coverage\"`\n\tRunURL    string            `json:\"run_url\"`\n\tReason    string            `json:\"reason,omitempty\"`\n\tChanges   []PromotionChange `json:\"changes,omitempty\"`\n}\n```\nPromotionPlan keeps the refs read before this run moves staging so the main signal names last week's build.\n\n","path":"github.com/Agent-Field/codeaf/cmd/codeaf-release","name":"main","synopsis":"codeaf-release resolves release tags and channel retention for the release workflow.","isRedistributable":true}
