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

fix: continue with error log when commits between versions cannot be found #456

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

tleguijt
Copy link
Collaborator

In case of hotfix releases we switch to a different branch name but current versions defined in our component definitions are from the previous branch (main for example).
When performing mach-composer update it correctly retrieves a new version from Mach Cloud but fails fetching commits between old and new (because old does not exist on the new branch name).

This change will make sure this error is logged, but the process itself is not aborted and we can continue updating components.

@tleguijt tleguijt requested a review from a team as a code owner September 30, 2024 11:15
@tleguijt tleguijt force-pushed the feature/silent-fail-with-commit-checks branch from 73917b8 to 46aa468 Compare September 30, 2024 11:16
Copy link
Contributor

@demeyerthom demeyerthom left a comment

Choose a reason for hiding this comment

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

LGTM

@tleguijt tleguijt merged commit 23ac9a1 into main Sep 30, 2024
3 checks passed
@tleguijt tleguijt deleted the feature/silent-fail-with-commit-checks branch September 30, 2024 14:38
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