commit 669f320aa1d3697a106c8d84800c31bce11c886a parent 1048361848ec892c54388e9c2ac8caa50a3c5217 Author: Jack Mordaunt <jackmordaunt@gmail.com> Date: Wed, 14 Feb 2018 16:48:14 +0100 [*] Moved .goreleaser.yml to top level directory. Diffstat:
| A | .goreleaser.yml | | | 69 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| D | cmd/icnsify/.goreleaser.yml | | | 69 | --------------------------------------------------------------------- |
2 files changed, 69 insertions(+), 69 deletions(-)
diff --git a/.goreleaser.yml b/.goreleaser.yml @@ -0,0 +1,69 @@ +project_name: icnsify +release: + github: + owner: jackmordaunt + name: icns + name_template: '{{.Tag}}' +brew: + commit_author: + name: goreleaserbot + email: goreleaser@carlosbecker.com + install: bin.install "icns" +scoop: + commit_author: + name: goreleaserbot + email: goreleaser@carlosbecker.com +builds: +- goos: + - linux + - darwin + goarch: + - amd64 + - "386" + goarm: + - "6" + targets: + - linux_amd64 + - linux_386 + - darwin_amd64 + - darwin_386 + main: ./cmd/icnsify/main.go + ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} + binary: icnsify + lang: go +archive: + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm + }}v{{ .Arm }}{{ end }}' + format: tar.gz + files: + - licence* + - LICENCE* + - license* + - LICENSE* + - readme* + - README* + - changelog* + - CHANGELOG* +fpm: + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm + }}v{{ .Arm }}{{ end }}' + bindir: /usr/local/bin +snapcraft: + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm + }}v{{ .Arm }}{{ end }}' +snapshot: + name_template: SNAPSHOT-{{ .Commit }} +checksum: + name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' +dist: dist +sign: + cmd: gpg + args: + - --output + - $signature + - --detach-sig + - $artifact + signature: ${artifact}.sig + artifacts: none +env_files: + github_token: ~/.config/goreleaser/github_token diff --git a/cmd/icnsify/.goreleaser.yml b/cmd/icnsify/.goreleaser.yml @@ -1,69 +0,0 @@ -project_name: icns -release: - github: - owner: jackmordaunt - name: icns - name_template: '{{.Tag}}' -brew: - commit_author: - name: jackmordaunt - email: jackmordaunt@gmail.com - install: bin.install "icns" -scoop: - commit_author: - name: jackmordaunt - email: jackmordaunt@gmail.com -builds: -- goos: - - linux - - darwin - goarch: - - amd64 - - "386" - goarm: - - "6" - targets: - - linux_amd64 - - linux_386 - - darwin_amd64 - - darwin_386 - main: . - ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} - binary: icnsify - lang: go -archive: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm - }}v{{ .Arm }}{{ end }}' - format: tar.gz - files: - - licence* - - LICENCE* - - license* - - LICENSE* - - readme* - - README* - - changelog* - - CHANGELOG* -fpm: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm - }}v{{ .Arm }}{{ end }}' - bindir: /usr/local/bin -snapcraft: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm - }}v{{ .Arm }}{{ end }}' -snapshot: - name_template: SNAPSHOT-{{ .Commit }} -checksum: - name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' -dist: dist -sign: - cmd: gpg - args: - - --output - - $signature - - --detach-sig - - $artifact - signature: ${artifact}.sig - artifacts: none -env_files: - github_token: ~/.config/goreleaser/github_token