2024-03-04 22:22:33 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/getsentry/sentry-cli/archive/refs/tags/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: getsentry/sentry-cli
|
|
|
|
|
|
|
|
dependencies:
|
2024-03-04 23:03:46 +03:00
|
|
|
libgit2.org: ^1.7
|
2024-03-04 22:22:33 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: ^1.65
|
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
script:
|
|
|
|
- cargo install $ARGS
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --locked
|
|
|
|
- --root={{prefix}}
|
|
|
|
- --path=.
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/sentry-cli
|
|
|
|
|
|
|
|
test:
|
|
|
|
- sentry-cli --version | grep {{version}}
|
|
|
|
- sentry-cli --url='https://sentry.io/' --auth-token='testtoken' releases list > out.log 2>&1 || true
|
|
|
|
- cat out.log | grep 'Did you copy your token correctly?'
|