MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / editRelease

Function editRelease

cmd/edit_release.go:61–71  ·  view source on GitHub ↗
(project string, tag string, opts *gitlab.UpdateReleaseOptions)

Source from the content-addressed store, hash-verified

59}
60
61func editRelease(project string, tag string, opts *gitlab.UpdateReleaseOptions) (*gitlab.Release, error) {
62 git, err := newGitlabClient()
63 if err != nil {
64 return nil, err
65 }
66 release, _, err := git.Tags.UpdateRelease(project, tag, opts)
67 if err != nil {
68 return nil, err
69 }
70 return release, nil
71}

Callers 1

runEditReleaseFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by

no test coverage detected