diff --git a/.goreleaser.yml b/.goreleaser.yml index e9bac79..21ea0e9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,9 +1,11 @@ project_name: gomod_exporter builds: - - id: binary + - + &template + id: pusher + dir: pusher binary: gomod_pusher - dir: . env: - CGO_ENABLED=0 ldflags: @@ -19,6 +21,11 @@ builds: - darwin goarch: - amd64 + - + <<: *template + id: exporter + dir: exporter + binary: gomod_exporter archives: - id: archives @@ -28,13 +35,14 @@ archives: format: "tar.gz" name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' wrap_in_directory: true - - id: archives-zip - builds: - - pusher - - exporter - 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