Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
Platform implements port.Platform for GitHub via the gh CLI.
func (*Platform) Check ¶
Check verifies gh is on PATH, the token env var is set, repository is resolvable, and the token authenticates successfully against the GitHub API.
func (*Platform) CreateRelease ¶
CreateRelease runs `gh release create`.
func (*Platform) ReleaseURL ¶
func (*Platform) UploadAssets ¶
UploadAssets resolves each asset glob and runs `gh release upload` per matched file.