Skip to content

Commit

Permalink
try to fix some issues with goreleaser conf. maybe it was old
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel corso committed Sep 2, 2022
1 parent 10c6eea commit 5d0f4a4
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .goreleaser.yml
@@ -1,21 +1,16 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: pusher
builds:
- env:
- CGO_ENABLED=0
build:
binary: pusher
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- amd64
ldflags: -s -w -X github.com/pusher/cli/config.version={{.Version}}
tags:
- osusergo
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
ldflags: -s -w -X github.com/pusher/cli/config.version={{.Version}}
tags:
- osusergo
archives:
- replacements:
darwin: Darwin
Expand All @@ -26,7 +21,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 5d0f4a4

Please sign in to comment.