You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* release/0.17.0:
(#578) Make the issue ID a long
(GH-578) Bump Octokit to 10.0.0 to fix oversized ints
(#574) Exclude all issues with label
(#476) Add validation of input file path handler
(#439) Add option to disable warning to stderr
ex.Message.ShouldBe("Both a milestone and an input file path have been specified. Only one of these arguments may be used at the same time when creating a release!");
thrownewInvalidOperationException("Both a milestone and an input file path have been specified. Only one of these arguments may be used at the same time when creating a release!");
36
+
}
37
+
32
38
_logger.Verbose("Milestone {Milestone} was specified",options.Milestone);
Copy file name to clipboardExpand all lines: src/GitReleaseManager.Core/Options/CreateSubOptions.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ public class CreateSubOptions : BaseVcsOptions
12
12
[Option('c',"targetcommitish",HelpText="The commit to tag. Can be a branch or SHA. Defaults to repository's default branch.",Required=false)]
13
13
publicstringTargetCommitish{get;set;}
14
14
15
-
[Option('m',"milestone",HelpText="The milestone to use.",Required=false)]
15
+
[Option('m',"milestone",HelpText="The milestone to use. (Can't be used together with a release notes file path).",Required=false)]
16
16
publicstringMilestone{get;set;}
17
17
18
18
[Option('n',"name",HelpText="The name of the release (Typically this is the generated SemVer Version Number).",Required=false)]
19
19
publicstringName{get;set;}
20
20
21
-
[Option('i',"inputFilePath",HelpText="The path to the file to be used as the content of the release notes.",Required=false)]
21
+
[Option('i',"inputFilePath",HelpText="The path to the file to be used as the content of the release notes. (Can't be used together with a milestone)",Required=false)]
22
22
publicstringInputFilePath{get;set;}
23
23
24
24
[Option('t',"template",HelpText="The name of the template file to use. Can also be a relative or absolute path (relative paths are resolved from yaml template-dir configuration). Defaults to 'default'")]
0 commit comments