-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
40 lines (35 loc) · 1023 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
builds:
- binary: funnel
goos:
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
ldflags: >
-X github.com/ohsu-comp-bio/funnel/version.BuildDate={{.Date}}
-X github.com/ohsu-comp-bio/funnel/version.GitCommit={{.ShortCommit}}
-X github.com/ohsu-comp-bio/funnel/version.GitBranch={{.Env.GIT_BRANCH}}
-X github.com/ohsu-comp-bio/funnel/version.GitUpstream={{.Env.GIT_UPSTREAM}}
-X github.com/ohsu-comp-bio/funnel/version.Version={{.Version}}
dist: build/release
release:
draft: true
env_files:
github_token: .github_token
archives:
- format: tar.gz
name_template: "{{.ProjectName}}-{{.Os}}-{{.Arch}}-{{.Version}}"
brews:
- github:
owner: ohsu-comp-bio
name: homebrew-formula
folder: Formula
skip_upload: true
description: "distributed task execution toolkit"
homepage: "https://ohsu-comp-bio.github.io/funnel/"
install: |
bin.install "funnel"
test: |
system "#{bin}/funnel", "version"