forked from getsentry/sentry-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.craft.yml
45 lines (43 loc) · 1.34 KB
/
.craft.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
---
minVersion: '0.6.0'
github:
owner: getsentry
repo: sentry-cli
changelogPolicy: simple
targets:
- name: npm
- name: brew
tap: getsentry/tools
template: >
class SentryCli < Formula
desc "This is a Sentry command-line client for some generic tasks."
homepage "https://github.com/getsentry/sentry-cli"
url "https://github.com/getsentry/sentry-cli/releases/download/{{version}}/sentry-cli-Darwin-x86_64"
version "{{version}}"
sha256 "{{checksums.sentry-cli-Darwin-x86_64}}"
def install
mv "sentry-cli-Darwin-x86_64", "sentry-cli"
bin.install "sentry-cli"
end
test do
assert_match version.to_s, shell_output("#{bin}/sentry-cli --version").chomp
end
end
- name: github
includeNames: /^sentry-cli-(Darwin|Windows|Linux).*$/i
- name: gcs
bucket: sentry-sdk-assets
includeNames: /^sentry-cli-(Darwin|Windows|Linux).*$/i
paths:
- path: /sentry-cli/{{version}}/
metadata:
cacheControl: 'public, max-age=2592000'
- path: /sentry-cli/latest/
metadata:
cacheControl: 'public, max-age=600'
- name: registry
type: app
urlTemplate: "https://downloads.sentry-cdn.com/sentry-cli/{{version}}/{{file}}"
includeNames: /^sentry-cli-.*$/
config:
canonical: "app:sentry-cli"