1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-05-16 09:20:15 +02:00
This commit is contained in:
Carlos Alexandro Becker
2017-01-06 11:17:59 -02:00
parent 84b5954f47
commit 9c0373c25a
3 changed files with 12 additions and 2 deletions
+11
View File
@@ -62,6 +62,17 @@ build:
> `oses` and `arches` should be in `GOOS`/`GOARCH`-compatible format.
### Custom final file name
```yaml
repo: user/repo
binary_name: my-binary
name_template: "{{.BinaryName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
```
> Default is "{{.BinaryName}}_{{.Os}}_{{.Arch}}"
### Add more files
You might also want to change the files that are packaged by adding a `files`
+1 -1
View File
@@ -43,7 +43,7 @@ type ProjectConfig struct {
Token string `yaml:"-"`
Build BuildConfig
Git GitInfo `yaml:"-"`
NameTemplate string
NameTemplate string `yaml:"name_template"`
}
// Load config file
-1
View File
@@ -10,4 +10,3 @@ build:
- windows
- darwin
- linux
NameTemplate: {{.BinaryName}}_{{.Version}}_{{.Os}}_{{.Arch}}