Skip to content

Commit

Permalink
added extra 'remote' tag in windows build (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Jan 6, 2022
1 parent 5713eb3 commit 1ad7497
Showing 1 changed file with 41 additions and 22 deletions.
63 changes: 41 additions & 22 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,47 @@ release:
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
prerelease: true
build:
main: main.go
binary: astro
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm64
goarm:
- 7
flags:
- -mod=vendor
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }} -X github.com/astronomer/astro-cli/version.CurrCommit={{ .Commit }}
tags:
- containers_image_openpgp
- exclude_graphdriver_btrfs
- exclude_graphdriver_devicemapper
builds:
- main: main.go
binary: astro
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm64
goarm:
- 7
flags:
- -mod=vendor
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }} -X github.com/astronomer/astro-cli/version.CurrCommit={{ .Commit }}
tags:
- containers_image_openpgp
- exclude_graphdriver_btrfs
- exclude_graphdriver_devicemapper
- id: astro-windows
main: main.go
binary: astro
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- 386
- amd64
goarm:
- 7
flags:
- -mod=vendor
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }} -X github.com/astronomer/astro-cli/version.CurrCommit={{ .Commit }}
tags:
- containers_image_openpgp
- exclude_graphdriver_btrfs
- exclude_graphdriver_devicemapper
- remote
brews:
- tap:
owner: astronomer
Expand Down

0 comments on commit 1ad7497

Please sign in to comment.