From abcae62720eb305b249bd87bf809172e7ec4db08 Mon Sep 17 00:00:00 2001 From: Ryan Albert Date: Wed, 19 Jun 2024 09:32:49 -0700 Subject: [PATCH] feat: add set version config --- configuration.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.go b/configuration.go index a70514c..e992265 100644 --- a/configuration.go +++ b/configuration.go @@ -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 { @@ -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)