diff --git a/.release.yml b/.release.yml index 730a27a..eb9ed36 100644 --- a/.release.yml +++ b/.release.yml @@ -9,6 +9,9 @@ changelog: template: '' templatePath: '' release: 'github' +assets: + - name: + compress: github: url: '' gitlab: diff --git a/pkg/config/config.go b/pkg/config/config.go index 44d56d2..f37525d 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -25,6 +25,11 @@ type GitlabConfig struct { URL string `yaml:"url"` } +type Asset struct { + Name string `yaml:"name"` + Compress bool `yaml:"compress"` +} + // ReleaseConfig struct type ReleaseConfig struct { CommitFormat string `yaml:"commitFormat"` @@ -33,6 +38,7 @@ type ReleaseConfig struct { Release string `yaml:"release,omitempty"` Github map[string]string `yaml:"github"` Gitlab map[string]string `yaml:"gitlab"` + Assets []Asset `yaml:"assets"` } // Read ReleaseConfig