Skip to content
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: update cli version #186

Merged
merged 4 commits into from
Jan 8, 2024
Merged

feat: update cli version #186

merged 4 commits into from
Jan 8, 2024

Conversation

scefali
Copy link
Contributor

@scefali scefali commented Jan 8, 2024

Updates the CLI to the latest version (2.24.1).

@@ -25,9 +25,7 @@ RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \
COPY --from=builder /app/dist /action-release/dist/
RUN chmod +x /action-release/dist/index.js

# move the sentry-cli binary to where the entrypoint expects it
RUN mv /action-release/node_modules/@sentry/cli/sentry-cli /action-release/sentry-cli
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need this hack anymore :D

# move the sentry-cli binary to where the entrypoint expects it
RUN mv /action-release/node_modules/@sentry/cli/sentry-cli /action-release/sentry-cli
RUN chmod +x /action-release/sentry-cli
RUN printf '[safe]\n directory = *\n' > /etc/gitconfig
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how hacky this is or if it will cause problems on other binaries since each OS can have different implementations

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's in a docker container so the os is fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile-sentry Oh yea duh...brain is slow after the holidays

Copy link
Member

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scefali scefali merged commit e769183 into master Jan 8, 2024
5 checks passed
@scefali scefali deleted the feat/upgrade-cli-version-v2 branch January 8, 2024 18:36
@armenzg armenzg mentioned this pull request Dec 20, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants