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
Copy file name to clipboardExpand all lines: tools/ProductConstructionService.ReproTool/Options/FlowCommitOptions.cs
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,11 @@ internal class FlowCommitOptions : Options
16
16
[Option("source-repo",HelpText="Repo (full URI) to flow the commit from (must be under maestro-auth-test/)",Required=true)]
17
17
publicrequiredstringSourceRepository{get;init;}
18
18
19
-
[Option("source-branch",HelpText="Branch whose commit will be flown",Required=true)]
20
-
publicrequiredstringSourceBranch{get;init;}
19
+
[Option("source-branch",HelpText="Either --source-branch or --source-commit is required. Branch whose commit will be flown. Ignored if source-commit is provided.",Required=false)]
20
+
publicstring?SourceBranch{get;init;}
21
+
22
+
[Option("source-commit",HelpText="Either --source-branch or --source-commit is required. Source commit that will be flown.",Required=false)]
23
+
publicstring?SourceCommit{get;init;}
21
24
22
25
[Option("target-repo",HelpText="Repo (full URI) to flow the commit to (must be under maestro-auth-test/)",Required=true)]
23
26
publicrequiredstringTargetRepository{get;init;}
@@ -28,7 +31,7 @@ internal class FlowCommitOptions : Options
28
31
[Option("packages",HelpText="Name(s) of package(s) to include in the flown build",Required=false)]
29
32
publicIEnumerable<string>Packages{get;init;}=[];
30
33
31
-
[Option("realBuildId",HelpText="Build to take assets from. Shouldn't be combined with packages",Required=false)]
34
+
[Option("assets-from-build",HelpText="A real build id from which to take assets. Shouldn't be provided if using the --packages option",Required=false)]
0 commit comments