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

Fetch more commits for Sentry releases #209

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

IanVS
Copy link
Contributor

@IanVS IanVS commented Dec 18, 2024

We're getting an error in our release job because sentry can't find commits to associate with a release. So this will fetch the last 25 commits instead of just the last one.

The error we're seeing:

error: Could not find the SHA of the previous release in the git history. If you limit the clone depth, try to increase it. Otherwise, it means that the commit we are looking for was amended or squashed and cannot be retrieved. Use --ignore-missing flag to skip it and create a new release with the default commits count.

@IanVS IanVS requested a review from johnmaguire December 18, 2024 21:17
@IanVS IanVS force-pushed the avoid-sentry-failure branch from a91b45c to 98c11fc Compare December 18, 2024 21:21
@IanVS IanVS changed the title Allow sentry to proceed without finding commits Fetch more commits for Sentry releases Dec 18, 2024
@johnmaguire johnmaguire merged commit db1f162 into main Dec 18, 2024
3 checks passed
@johnmaguire johnmaguire deleted the avoid-sentry-failure branch December 18, 2024 21:28
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