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

Commit

Permalink
Add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Oct 15, 2020
1 parent 31351f3 commit 8288117
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 8288117

Please sign in to comment.