-
Notifications
You must be signed in to change notification settings - Fork 859
Expand file tree
/
Copy path.goreleaser.yml
More file actions
96 lines (88 loc) · 2.86 KB
/
.goreleaser.yml
File metadata and controls
96 lines (88 loc) · 2.86 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.7.0/www/docs/static/schema-pro.json
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
formats: [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)
# https://goreleaser.com/customization/winget/
winget:
- name: dagger
repository:
owner: "{{ .Env.GH_ORG_NAME }}"
name: winget-pkgs
branch: "{{ .ProjectName }}-{{ .Version }}"
pull_request:
enabled: true
check_boxes: true
base:
owner: microsoft
name: winget-pkgs
branch: master
commit_author:
name: dagger-bot
email: noreply@dagger.io
url_template: "https://{{ .Env.ARTEFACTS_FQDN }}/dagger/releases/{{ .Version }}/{{ .ArtifactName }}"
homepage: "https://dagger.io"
publisher: Dagger
short_description: "Dagger is an integrated platform to orchestrate the delivery of applications"
license: "asl20"
publisher_url: "https://dagger.io"
publisher_support_url: https://github.com/dagger/dagger/issues/new/choose
path: manifests/d/Dagger/Cli/{{ .Version }}
package_identifier: Dagger.Cli
use: archive
skip_upload: false
tags:
- dagger
- cli
- cicd
- workflows
- sandbox
- containers
- devops
- llm
blobs:
- provider: s3
region: "{{ .Env.AWS_REGION }}"
bucket: "{{ .Env.AWS_BUCKET }}"
directory: "dagger/releases/{{ .Version }}"