mirror of
https://github.com/foomo/gocontentful.git
synced 2025-10-16 12:25:39 +00:00
chore: update goreleaser
This commit is contained in:
parent
b02cb9b11c
commit
dee9178cc4
@ -1,12 +1,13 @@
|
|||||||
# .goreleaser.yml
|
project_name: gocontentful
|
||||||
# Build customization
|
|
||||||
|
release:
|
||||||
|
github:
|
||||||
|
owner: foomo
|
||||||
|
name: gocontentful
|
||||||
|
prerelease: auto
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- binary: gocontentful
|
- binary: gocontentful
|
||||||
main: ./main.go
|
|
||||||
env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
ldflags:
|
|
||||||
- -s -w -X main.VERSION={{.Version}}
|
|
||||||
goos:
|
goos:
|
||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
@ -14,22 +15,34 @@ builds:
|
|||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
ignore:
|
goarm:
|
||||||
- goos: windows
|
- '7'
|
||||||
goarch: arm64
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
main: ./main.go
|
||||||
|
flags:
|
||||||
|
- -trimpath
|
||||||
|
ldflags:
|
||||||
|
- -s -w -X main.VERSION={{.Version}}
|
||||||
|
|
||||||
# .goreleaser.yml
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
files:
|
||||||
|
- LICENSE
|
||||||
|
- README.md
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
use: github-native
|
||||||
|
|
||||||
brews:
|
brews:
|
||||||
# Reporitory to push the tap to.
|
- repository:
|
||||||
- tap:
|
|
||||||
owner: foomo
|
owner: foomo
|
||||||
name: homebrew-gocontentful
|
name: homebrew-tap
|
||||||
caveats: "gocontentful -h"
|
caveats: "gocontentful -h"
|
||||||
homepage: "https://github.com/foomo/gocontentful"
|
homepage: "https://github.com/foomo/gocontentful"
|
||||||
description: "An Contentful Entry-Reference Mapper for Go"
|
description: "An Contentful Entry-Reference Mapper for Go"
|
||||||
|
test: |
|
||||||
|
system "#{bin}/gocontentful --version"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user