()
| 43 | } |
| 44 | |
| 45 | func init() { |
| 46 | newCmd.AddCommand(newReleaseCmd) |
| 47 | addProjectFlag(newReleaseCmd) |
| 48 | verifyMarkFlagRequired(newReleaseCmd, "project") |
| 49 | newReleaseCmd.Flags().StringP("description", "d", "", |
| 50 | "The release note or description") |
| 51 | verifyMarkFlagRequired(newReleaseCmd, "description") |
| 52 | } |
| 53 | |
| 54 | func runNewRelease(cmd *cobra.Command, tag string) error { |
| 55 | opts := new(gitlab.CreateReleaseOptions) |
nothing calls this directly
no test coverage detected