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

Ref: Github Action for updating Sentry dependencies. #512

Merged
merged 13 commits into from
Dec 21, 2023

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Nov 24, 2023

Close #510

#skip-changelog

@lucas-zimerman lucas-zimerman marked this pull request as ready for review November 28, 2023 13:31

tagPrefix=''
repo="https://github.com/getsentry/sentry-javascript.git"
packages=('@sentry/browser' '@sentry/core' '@sentry/integrations' '@sentry/react' '@sentry/vue' '@sentry/angular' '@sentry/angular-ivy' '@sentry/types' '@sentry/utils')
Copy link
Member

Choose a reason for hiding this comment

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

I believe this won't work for @sentry/angular-ivy, @sentry/angular, @sentry/react, and @sentry/vue. As the update-package-json.sh runs yarn upgrade.

I tried to run yarn upgrade and it added these as deps not upgrading the peers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nice catch!, sucks that yarn upgrade doesn't support peerDependencies...
I added another way of updating the peerDependencies by using the add command with the --peer flag instead of relying on the upgrade command

@lucas-zimerman
Copy link
Collaborator Author

The PR will not pass for the time being because the update logic compares with the main branch and this branch isn't the main branch, but all the previous steps are passing

Copy link
Member

@kahest kahest left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding this! 🚀

@lucas-zimerman lucas-zimerman merged commit 444c07e into main Dec 21, 2023
7 checks passed
@lucas-zimerman lucas-zimerman deleted the feat/auto-bump=dep branch December 21, 2023 14:04
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.

Add update deps to capacitor
3 participants