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 GitLab via the glab CLI.
func (*Platform) Check ¶
Check verifies glab is on PATH, the token env var is set, project is resolvable, and the token authenticates successfully against the GitLab API.
func (*Platform) CreateRelease ¶
CreateRelease runs `glab release create`. When cfg.LenientAssets is true (release-level assets), resolved asset files are included as positional args for atomic create+upload (mirrors the GitHub pattern).
func (*Platform) ReleaseURL ¶
func (*Platform) UploadAssets ¶
UploadAssets resolves asset globs and uploads all matched files in one `glab release upload --use-package-registry` call. When cfg.LenientAssets is true, this is a no-op — assets were already included in the glab release create call atomically.