-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Configuration::runGitCommand() now respects base-path #466
Conversation
Failing tests appear to be unrelated to my changes - I have no clue how to address them. |
Thanks, will try to check this weekend! |
Is there anything I can do to assist? |
'git-commit-short' => 'git_commit_short', | ||
'git-tag' => 'git_tag', | ||
'git-version' => 'git_version', | ||
'replacements' => ['rand' => $rand = random_int(0, getrandmax())], |
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.
we can skip the non-necessary values replacement
, datetime
& date-format
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.
Changed with 4aa9f90
Sorry I appear to have forgotten to submit the review... I'm away this week, once back I'll have a look at #468 and hopefully this PR will be green and ready to merge :) |
This resolves a problem when having the configuration file not within the repository itself (eg. in CI environments). Now the configuration is using the `base-path` for running all git commands.
Rebased master, hopefully CI is green now. 😨 |
It does :) Thanks very much @discordier |
Thanks for merging. |
This resolves a problem when having the configuration file not within the repository itself (eg. in CI environments).
Now the configuration is using the
base-path
for running all git commands.Fixes #465