Skip to content

Commit

Permalink
feat: add set version config
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Jun 19, 2024
1 parent aef27ad commit abcae62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ type Schedule struct {
type Inputs struct {
Force Force `yaml:"force"`
PushCodeSamplesOnly *PushCodeSamplesOnly `yaml:"push_code_samples_only,omitempty"`
SetVersion *SetVersion `yaml:"set_version,omitempty"`
}

type Force struct {
Expand All @@ -184,6 +185,11 @@ type PushCodeSamplesOnly struct {
Default bool `yaml:"default"`
}

type SetVersion struct {
Description string `yaml:"description"`
Type string `yaml:"type"`
}

func GetDefaultConfig(newSDK bool, getLangDefaultFunc GetLanguageDefaultFunc, langs map[string]bool) (*Configuration, error) {
defaults := GetGenerationDefaults(newSDK)

Expand Down

0 comments on commit abcae62

Please sign in to comment.