Update goreleaser configs for 4.2.0 (#1650)

This commit is contained in:
Zach Wasserman 2021-08-11 17:13:11 -07:00 committed by GitHub
parent e8def4af00
commit 451493b1ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -38,8 +38,9 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@ac067437f516133269923265894e77920c3dce18 # v2.6.1
with:
distribution: goreleaser
distribution: goreleaser-pro
version: latest
args: release --rm-dist -f .goreleaser.yml
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -26,8 +26,9 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@ac067437f516133269923265894e77920c3dce18 # v2.6.1
with:
distribution: goreleaser
distribution: goreleaser-pro
version: latest
args: release --rm-dist -f orbit/.goreleaser.yml
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -19,13 +19,11 @@ builds:
env:
- CGO_ENABLED=1
goos:
- darwin
- linux
- windows
goarch:
- amd64
flags:
- -tags=full
- -tags=full,fts5
- -trimpath
ldflags:
- -X github.com/kolide/kit/version.appName={{ .ArtifactName }}
@ -60,7 +58,6 @@ archives:
- id: fleet
builds:
- fleet
- fleetctl
name_template: fleet_v{{.Version}}_{{.Os}}
replacements:
darwin: macos