diff --git a/cmd/release_config/build_flag/main.go b/cmd/release_config/build_flag/main.go index 160f2cf20..5d183ee31 100644 --- a/cmd/release_config/build_flag/main.go +++ b/cmd/release_config/build_flag/main.go @@ -163,6 +163,7 @@ func GetCommand(configs *rc_lib.ReleaseConfigs, commonFlags Flags, cmd string, a for _, fa := range configs.FlagArtifacts { args = append(args, *fa.FlagDeclaration.Name) } + slices.Sort(args) } var maxVariableNameLen, maxReleaseNameLen int