forked from vmware/govmomi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Goreleaser update for multiple archives
- Loading branch information
1 parent
9488a6f
commit 99dd594
Showing
3 changed files
with
98 additions
and
33 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,23 +1,52 @@ | ||
--- | ||
project_name: govc | ||
project_name: govmomi | ||
builds: | ||
- goos: | ||
- linux | ||
- darwin | ||
- windows | ||
- freebsd | ||
- id: govc | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
- freebsd | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- amd64 | ||
- 386 | ||
- arm64 | ||
env: | ||
- CGO_ENABLED=0 | ||
- CGO_ENABLED=0 | ||
main: ./govc/main.go | ||
binary: govc | ||
flags: -compiler gc | ||
ldflags: -X github.com/vmware/govmomi/govc/flags.GitVersion={{.Version}} | ||
archive: | ||
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' | ||
format: tar.gz | ||
- id: vcsim | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
- freebsd | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- arm64 | ||
env: | ||
- CGO_ENABLED=0 | ||
main: ./vcsim/main.go | ||
binary: vcsim | ||
flags: -compiler gc | ||
ldflags: -X github.com/vmware/govmomi/vcsim/flags.GitVersion={{.Version}} | ||
archives: | ||
- id: govcbuild | ||
builds: ['govc'] | ||
name_template: 'govc_{{ .Os }}_{{ .Arch }}' | ||
format: gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
files: | ||
- none* | ||
- id: vcsimbuild | ||
builds: ['vcsim'] | ||
name_template: 'vcsim_{{ .Os }}_{{ .Arch }}' | ||
format: gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
@@ -33,25 +62,57 @@ changelog: | |
- '^test:' | ||
- Merge pull request | ||
- Merge branch | ||
brew: | ||
github: | ||
owner: govmomi | ||
name: homebrew-tap | ||
commit_author: | ||
name: Alfred the Narwhal | ||
email: [email protected] | ||
folder: Formula | ||
homepage: "https://github.com/vmware/govmomi/blob/master/govc/README.md" | ||
description: "govc is a vSphere CLI built on top of govmomi." | ||
test: | | ||
system "#{bin}/govc version" | ||
brews: | ||
- name: govc | ||
ids: | ||
- govc | ||
github: | ||
owner: govmomi | ||
name: homebrew-tap | ||
commit_author: | ||
name: Alfred the Narwhal | ||
email: [email protected] | ||
folder: Formula | ||
homepage: "https://github.com/vmware/govmomi/blob/master/govc/README.md" | ||
description: "govc is a vSphere CLI built on top of govmomi." | ||
test: | | ||
system "#{bin}/govc version" | ||
install: | | ||
bin.install "govc" | ||
- name: vcsim | ||
ids: | ||
- vcsim | ||
github: | ||
owner: govmomi | ||
name: homebrew-tap | ||
commit_author: | ||
name: Alfred the Narwhal | ||
email: [email protected] | ||
folder: Formula | ||
homepage: "https://github.com/vmware/govmomi/blob/master/vcsim/README.md" | ||
description: "vcsim is a vSphere API simulator built on top of govmomi." | ||
test: | | ||
system "#{bin}/vcsim -h" | ||
install: | | ||
bin.install "vcsim" | ||
dockers: | ||
- image: vmware/govc | ||
goos: linux | ||
goarch: amd64 | ||
binary: govc | ||
tag_templates: | ||
- "{{ .Tag }}" | ||
- "v{{ .Major }}" | ||
- "v{{ .Major }}.{{ .Minor }}" | ||
- latest | ||
- image_templates: | ||
- "vmware/govc:{{ .Tag }}" | ||
- "vmware/govc:v{{ .Major }}" | ||
- "vmware/govc:v{{ .Major }}.{{ .Minor }}" | ||
- "vmware/govc:latest" | ||
goos: linux | ||
goarch: amd64 | ||
dockerfile: Dockerfile.govc | ||
binaries: | ||
- govc | ||
- image_templates: | ||
- "vmware/vcsim:{{ .Tag }}" | ||
- "vmware/vcsim:v{{ .Major }}" | ||
- "vmware/vcsim:v{{ .Major }}.{{ .Minor }}" | ||
- "vmware/vcsim:latest" | ||
goos: linux | ||
goarch: amd64 | ||
dockerfile: Dockerfile.vcsim | ||
binaries: | ||
- vcsim |
File renamed without changes.
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,4 @@ | ||
FROM scratch | ||
LABEL maintainer="[email protected]" | ||
COPY vcsim / | ||
ENTRYPOINT [ "/vcsim" ] |