-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
195 additions
and
3 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...tes/.snapshots/TestGoreleaserYmlOnlyCommands-.goreleaser.yml.tpl-.goreleaser.yml.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(*codegen.File)(# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
before: | ||
hooks: | ||
- make dep<nil>archives: [] | ||
checksum: | ||
name_template: 'checksums.txt' | ||
release: | ||
# We handle releasing via semantic-release | ||
disable: true | ||
) |
101 changes: 101 additions & 0 deletions
101
...s/.snapshots/TestGoreleaserYmlWithBuildAsset-.goreleaser.yml.tpl-.goreleaser.yml.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
(*codegen.File)(# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
before: | ||
hooks: | ||
- make dep | ||
builds: | ||
- main: ./cmd/cmd1 | ||
id: &name cmd1 | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- arm64 | ||
- amd64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd1AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>> | ||
- main: ./cmd/cmd2 | ||
id: &name cmd2 | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- arm64 | ||
- amd64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd2AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>> | ||
- main: ./cmd/cmd3-sub1 | ||
id: &name cmd3-sub1 | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- arm64 | ||
- amd64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd3sub1AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>> | ||
- main: ./cmd/cmd3-sub2 | ||
id: &name cmd3-sub2 | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- arm64 | ||
- amd64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd3sub2AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>> | ||
- main: ./cmd/cmd4_sub1 | ||
id: &name cmd4_sub1 | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- arm64 | ||
- amd64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd4sub1AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>>archives: [] | ||
checksum: | ||
name_template: 'checksums.txt' | ||
release: | ||
# We handle releasing via semantic-release | ||
disable: true | ||
) |
27 changes: 27 additions & 0 deletions
27
...hots/TestGoreleaserYmlWithSpecifiedOrAndArch-.goreleaser.yml.tpl-.goreleaser.yml.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
(*codegen.File)(# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
before: | ||
hooks: | ||
- make dep | ||
builds: | ||
- main: ./cmd/cmd1 | ||
id: &name cmd1 | ||
binary: *name | ||
goos: | ||
- linux | ||
goarch: | ||
- arm64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
## <<Stencil::Block(cmd1AdditionalEnv)>> | ||
|
||
## <</Stencil::Block>>archives: [] | ||
checksum: | ||
name_template: 'checksums.txt' | ||
release: | ||
# We handle releasing via semantic-release | ||
disable: true | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters