Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #15 from timescale/add_go_releaser_config
Browse files Browse the repository at this point in the history
Add goreleaser config
  • Loading branch information
cevian authored Oct 15, 2020
2 parents 31351f3 + 8288117 commit 06ed2e5
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# The documentation is at http://goreleaser.com
# Release instructions
# 1) git tag -a 0.1.0-beta.1 -m "Release 0.1.0-beta-1"
# 2) goreleaser //--skip-publish for dry-run
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/ts-dump/
id: ts-dump
- env:
- CGO_ENABLED=0
main: ./cmd/ts-restore/
id: ts-restore

#don't publish scoop but overwrite the weird names
scoop:
name: timescale-backup
commit_author:
name: Timescale
email: support@timescale.com

archives:
- format: binary
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 06ed2e5

Please sign in to comment.