-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
.craft.yml
34 lines (31 loc) · 1.05 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
minVersion: 0.23.1
changelogPolicy: auto
preReleaseCommand: bash scripts/craft-pre-release.sh
targets:
- name: npm
- name: brew
tap: getsentry/tools
template: >
require 'language/node'
class SentryWizard < Formula
desc "The Sentry Wizard helps you set up your projects with Sentry"
homepage "https://github.com/getsentry/sentry-wizard"
url "https://registry.npmjs.org/@sentry/wizard/-/wizard-{{version}}.tgz"
sha256 "{{checksums.sentry-wizard-v__VERSION____tgz}}"
version "{{version}}"
license "MIT"
depends_on "node"
def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
assert_match version.to_s, shell_output("#{bin}/sentry-wizard --version").chomp
end
end
- name: registry
apps:
app:sentry-wizard:
urlTemplate: https://github.com/getsentry/sentry-wizard/releases/tag/v{{version}}
- name: github
tagPrefix: v