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
SpecFlag: components.NewStringFlag(SpecFlag, "A path to the specification file.", func(f*components.StringFlag) { f.Mandatory=false }),
67
-
SpecVarsFlag: components.NewStringFlag(SpecVarsFlag, "List of semicolon-separated (;) variables in the form of \"key1=value1;key2=value2;...\" (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.", func(f*components.StringFlag) { f.Mandatory=false }),
74
+
SpecVarsFlag: components.NewStringFlag(SpecVarsFlag, "List of semicolon-separated (;) variables in the form of 'key1=value1;key2=value2;...' (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.", func(f*components.StringFlag) { f.Mandatory=false }),
ApplicationNameFlag: components.NewStringFlag(ApplicationNameFlag, "The display name of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
70
77
DescriptionFlag: components.NewStringFlag(DescriptionFlag, "The description of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
@@ -79,6 +86,13 @@ var flagsMap = map[string]components.Flag{
79
86
DryRunFlag: components.NewBoolFlag(DryRunFlag, "Perform a simulation of the operation.", components.WithBoolDefaultValueFalse()),
80
87
ExcludeReposFlag: components.NewStringFlag(ExcludeReposFlag, "Semicolon-separated list of repositories to exclude.", func(f*components.StringFlag) { f.Mandatory=false }),
81
88
IncludeReposFlag: components.NewStringFlag(IncludeReposFlag, "Semicolon-separated list of repositories to include.", func(f*components.StringFlag) { f.Mandatory=false }),
89
+
PropsFlag: components.NewStringFlag(PropsFlag, "Semicolon-separated list of properties in the form of 'key1=value1;key2=value2;...' to be added to each artifact.", func(f*components.StringFlag) { f.Mandatory=false }),
90
+
TagFlag: components.NewStringFlag(TagFlag, "A tag to associate with the version.", func(f*components.StringFlag) { f.Mandatory=false }),
91
+
BuildsFlag: components.NewStringFlag(BuildsFlag, "List of builds in format 'name1:number1[:timestamp1];name2:number2[:timestamp2]'", func(f*components.StringFlag) { f.Mandatory=false }),
92
+
ReleaseBundlesFlag: components.NewStringFlag(ReleaseBundlesFlag, "List of release bundles in format 'name1:version1;name2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
93
+
SourceVersionFlag: components.NewStringFlag(SourceVersionFlag, "Source versions in format 'app1:version1;app2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
94
+
ExcludeFlag: components.NewStringFlag(ExcludeFlag, "Excluded packages in format 'package1:version1;package2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
95
+
PromoteFlag: components.NewStringFlag(PromoteFlag, "Promotion stage for immediate promotion after creation", func(f*components.StringFlag) { f.Mandatory=false }),
82
96
}
83
97
84
98
varcommandFlags=map[string][]string{
@@ -88,12 +102,20 @@ var commandFlags = map[string][]string{
returnnil, errorutils.CheckErrorf("invalid timestamp format for build '%s': %s. Expected RFC3339 format (e.g., 2006-01-02T15:04:05Z)", build.Name, err.Error())
195
+
}
196
+
}
197
+
198
+
builds=append(builds, build)
115
199
}
116
200
117
-
// Use spec flag if provided, if not check for package flags
0 commit comments