Skip to content

Commit

Permalink
fix goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredga committed Oct 19, 2021
1 parent cb1ef25 commit 814452d
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
project_name: boshupdate_exporter

builds:
- id: binary
-
&template
id: exporter
dir: exporter
binary: boshupdate_exporter
dir: .
env:
- CGO_ENABLED=0
ldflags:
Expand All @@ -19,20 +21,26 @@ builds:
- darwin
goarch:
- amd64
-
<<: *template
id: cli
dir: cli
binary: boshupdate_cli

archives:
- id: archives
builds:
- binary
builds: [ exporter, cli ]
format: "tar.gz"
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
- id: archives-zip
builds:
- binary
format: "zip"
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
files:
- LICENSE*
- README*
- CHANGELOG*
- docs/*
- assets/*
- static/*
- templates/*

checksum:
name_template: checksums.txt
Expand Down

0 comments on commit 814452d

Please sign in to comment.