forked from dagger/dagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.nightly.yml
40 lines (36 loc) · 1.03 KB
/
.goreleaser.nightly.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
version: 2
includes:
- from_file:
path: ./.goreleaser.common.yml
nightly:
# version_template will override .Version for nightly builds:
# https://goreleaser.com/customization/nightlies/#how-it-works
version_template: "{{ .FullCommit }}"
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
id: sha
files:
- LICENSE
format_overrides:
- goos: windows
format: zip
- name_template: "{{ .ProjectName }}_head_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
id: head
files:
- LICENSE
format_overrides:
- goos: windows
format: zip
blobs:
- provider: s3
ids:
- sha
region: "{{ .Env.AWS_REGION }}"
bucket: "{{ .Env.AWS_BUCKET }}"
directory: "dagger/main/{{ .Version }}"
- provider: s3
ids:
- head
region: "{{ .Env.AWS_REGION }}"
bucket: "{{ .Env.AWS_BUCKET }}"
directory: "dagger/main/head"