-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(version): Skip repository validation when git is unused #1908
Conversation
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.
no tests, lockfile doesn't need to change, and the problems i described in the linked issue
Thank you for your review, @evocateur. I reverted the changes to the lockfile and will add tests as soon as we agree on the usefulness of this PR ;) I finally understood your concerns. I misunderstood the purpose of the fixed mode (even though I read your documentation multiple times *) and am now aware that my issue is rather a corner case as you will basically only not need to be on a branch when using Please take a look at my current implementation and let me know whether this goes into the right direction in your opinion. I just overrode the * "Use this if you want to automatically tie all package versions together." confirmed my intuitive understanding... |
@evocateur, I added some tests, one is still failing, if will try to get this fixed if I have time this evening, otherwise maybe you can help? |
@evocateur thank you. I removed |
@evocateur What do you think? |
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.
Looks great, well done!
I'll merge this once you've rebased. |
# Conflicts: # utils/collect-updates/collect-updates.js
Thanks! |
Wohoo! |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do not fail version update when git features are not used.
Description
I am just skipping the check on whether we are @ HEAD when git is not used.
Motivation and Context
closes #1869
How Has This Been Tested?
I tried it with our project, but I did not add any automatic tests. It works in both fixed and locked mode and still throws an error in case git commands are not skipped.
Types of changes
Checklist: