()
| 40 | } |
| 41 | |
| 42 | func init() { |
| 43 | editCmd.AddCommand(editReleaseCmd) |
| 44 | addProjectFlag(editReleaseCmd) |
| 45 | verifyMarkFlagRequired(editReleaseCmd, "project") |
| 46 | editReleaseCmd.Flags().StringP("description", "d", "", "Release note") |
| 47 | verifyMarkFlagRequired(editReleaseCmd, "description") |
| 48 | } |
| 49 | |
| 50 | func runEditRelease(cmd *cobra.Command, tag string) error { |
| 51 | opts := new(gitlab.UpdateReleaseOptions) |
nothing calls this directly
no test coverage detected