-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: upgrade cli version #169
Conversation
Sentry.init({ | ||
dsn: 'https://156a0eddcf407521a39833be862fc0e6@o1.ingest.sentry.io/4506112609943552', | ||
// Performance Monitoring | ||
tracesSampleRate: 1.0, | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do this? A lot of repos use this action, wouldn't this collect data?
https://github.com/getsentry/action-release/network/dependents
# download a copy of sentry-cli | ||
# TODO: Figure out why we can't use the version that is in node modules | ||
RUN apk update && apk add curl | ||
RUN curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION="2.21.2" sh | ||
RUN chmod +x /usr/local/bin/sentry-cli | ||
ENV SENTRY_BINARY_PATH=/usr/local/bin/sentry-cli |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this downloads the cli twice -- once in npm land and once here -- probably not what you want? maybe you mean to execute node_moduldes/.bin/sentry-cli ...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asottile-sentry I tried this but seems like that doesn't work. I guess I'll keep trying.
there's a lot going on in this PR -- can you split it into several different patches to minimize risk? probably separate out:
|
The version of the CLI is quite out of date, this PR upgrades it to the latest which is 2.21.2.