-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy path.goreleaser.yml
More file actions
130 lines (130 loc) · 3.34 KB
/
Copy path.goreleaser.yml
File metadata and controls
130 lines (130 loc) · 3.34 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
project_name: astro
version: 2
before:
hooks:
- go mod download
release:
github:
owner: astronomer
name: astro-cli
# "auto" marks prerelease tags (e.g. v1.43.0-rc.1, v1.43.0-nightly.20260522) as prerelease,
# and clean semver tags (e.g. v1.43.0) as full releases.
prerelease: auto
# install.sh is godownloader.sh with LATEST_VERSION set to this release, so
# the asset installs the release it ships with and nothing else.
extra_files:
- glob: ./install.sh
changelog:
sort: asc
use: github
builds:
- id: darwin-build
main: main.go
binary: astro
env:
- CGO_ENABLED=1
- CC=clang
- CXX=clang++
goos:
- darwin
goarch:
- arm64
- amd64
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }}
- id: linux-build
main: main.go
binary: astro
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- 386
- arm64
- amd64
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }}
- id: windows-build
main: main.go
binary: astro
env:
- CGO_ENABLED=0
goos:
- windows
goarch:
- amd64
- arm64
ldflags: -s -w -X github.com/astronomer/astro-cli/version.CurrVersion={{ .Version }}
brews:
- name: astro
repository:
owner: astronomer
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
branch: "bump-astro-{{ .Version }}"
pull_request:
enabled: true
base:
owner: astronomer
name: homebrew-tap
branch: main
directory: Formula
skip_upload: auto
homepage: https://astronomer.io
description: To build and run Airflow DAGs locally via docker-compose and deploy DAGs to Astronomer-managed Airflow clusters and interact with the Astronomer API.
dependencies:
- name: podman
type: recommended
os: mac
test: |
system "#{bin}/astro version"
- name: "astro@{{ .Version }}"
repository:
owner: astronomer
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
branch: "bump-astro-versioned-{{ .Version }}"
pull_request:
enabled: true
base:
owner: astronomer
name: homebrew-tap
branch: main
directory: Formula
skip_upload: auto
homepage: https://astronomer.io
description: To build and run Airflow DAGs locally via docker-compose and deploy DAGs to Astronomer-managed Airflow clusters and interact with the Astronomer API.
dependencies:
- name: podman
type: recommended
os: mac
test: |
system "#{bin}/astro version"
archives:
- id: unix-archives
builds:
- darwin-build
- linux-build
format: tar.gz
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE*
- README*
- id: windows-exe
builds:
- windows-build
format: binary
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: windows-zip
builds:
- windows-build
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE*
- README*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
extra_files:
- glob: ./install.sh