Add Windows build to goreleaser

pull/503/head
Carl Tashian 3 years ago
parent a98ea5f9cd
commit 192207d263

@ -13,6 +13,7 @@ builds:
goos: goos:
- linux - linux
- darwin - darwin
- windows
goarch: goarch:
- amd64 - amd64
- arm - arm
@ -20,6 +21,9 @@ builds:
- 386 - 386
goarm: goarm:
- 7 - 7
ignore:
- goos: windows
goarch: 386
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-ca/main.go main: ./cmd/step-ca/main.go
@ -33,6 +37,7 @@ builds:
goos: goos:
- linux - linux
- darwin - darwin
- windows
goarch: goarch:
- amd64 - amd64
- arm - arm
@ -40,6 +45,9 @@ builds:
- 386 - 386
goarm: goarm:
- 7 - 7
ignore:
- goos: windows
goarch: 386
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-cloudkms-init/main.go main: ./cmd/step-cloudkms-init/main.go
@ -53,6 +61,7 @@ builds:
goos: goos:
- linux - linux
- darwin - darwin
- windows
goarch: goarch:
- amd64 - amd64
- arm - arm
@ -60,6 +69,9 @@ builds:
- 386 - 386
goarm: goarm:
- 7 - 7
ignore:
- goos: windows
goarch: 386
flags: flags:
- -trimpath - -trimpath
main: ./cmd/step-awskms-init/main.go main: ./cmd/step-awskms-init/main.go
@ -124,41 +136,41 @@ release:
# - glob: ./glob/**/to/**/file/**/* # - glob: ./glob/**/to/**/file/**/*
# - glob: ./glob/foo/to/bar/file/foobar/override_from_previous # - glob: ./glob/foo/to/bar/file/foobar/override_from_previous
#scoop: scoop:
# # Template for the url which is determined by the given Token (github or gitlab) # Template for the url which is determined by the given Token (github or gitlab)
# # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}" # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}" # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}"
# # Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}" # Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# url_template: "http://github.com/smallstep/certificates/releases/download/{{ .Tag }}/{{ .ArtifactName }}" url_template: "http://github.com/smallstep/certificates/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
#
# # Repository to push the app manifest to. # Repository to push the app manifest to.
# bucket: bucket:
# owner: smallstep owner: smallstep
# name: scoop-bucket name: scoop-bucket
#
# # Git author used to commit to the repository. # Git author used to commit to the repository.
# # Defaults are shown. # Defaults are shown.
# commit_author: commit_author:
# name: goreleaserbot name: goreleaserbot
# email: goreleaser@smallstep.com email: goreleaser@smallstep.com
#
# # The project name and current git tag are used in the format string. # The project name and current git tag are used in the format string.
# commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}" commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
#
# # Your app's homepage. # Your app's homepage.
# # Default is empty. # Default is empty.
# homepage: "https://smallstep.com/docs/step-ca" homepage: "https://smallstep.com/docs/step-ca"
#
# # Skip uploads for prerelease. # Skip uploads for prerelease.
# skip_upload: auto skip_upload: auto
#
# # Your app's description. # Your app's description.
# # Default is empty. # Default is empty.
# description: "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH." description: "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH."
#
# # Your app's license # Your app's license
# # Default is empty. # Default is empty.
# license: "Apache-2.0" license: "Apache-2.0"
#dockers: #dockers:
# - dockerfile: docker/Dockerfile # - dockerfile: docker/Dockerfile

Loading…
Cancel
Save