forked from dagger/dagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
56 lines (50 loc) · 1.66 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 2
includes:
- from_file:
path: ./.goreleaser.common.yml
snapshot:
version_template: "{{ .Tag }}-next"
archives:
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
files:
- LICENSE
format_overrides:
- goos: windows
format: zip
# https://goreleaser.com/customization/homebrew/
brews:
- repository:
owner: "{{ .Env.GH_ORG_NAME }}"
name: homebrew-tap
name: dagger
commit_author:
name: dagger-bot
email: noreply@dagger.io
url_template: "https://{{ .Env.ARTEFACTS_FQDN }}/dagger/releases/{{ .Version }}/{{ .ArtifactName }}"
homepage: "https://dagger.io"
description: "Dagger is an integrated platform to orchestrate the delivery of applications"
test: |
system "#{bin}/dagger version"
# https://goreleaser.com/customization/nix/
nix:
- name: dagger
repository:
owner: "{{ .Env.GH_ORG_NAME }}"
name: nix
commit_author:
name: dagger-bot
email: noreply@dagger.io
url_template: "https://{{ .Env.ARTEFACTS_FQDN }}/dagger/releases/{{ .Version }}/{{ .ArtifactName }}"
homepage: "https://dagger.io"
description: "Dagger is an integrated platform to orchestrate the delivery of applications"
license: "asl20"
post_install: |
installShellCompletion --cmd dagger \
--bash <($out/bin/dagger completion bash) \
--fish <($out/bin/dagger completion fish) \
--zsh <($out/bin/dagger completion zsh)
blobs:
- provider: s3
region: "{{ .Env.AWS_REGION }}"
bucket: "{{ .Env.AWS_BUCKET }}"
directory: "dagger/releases/{{ .Version }}"