This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from timescale/add_go_releaser_config
Add goreleaser config
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:' |