-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: don't early exit with error if root is not a git dir (#224)
* hotfix: don't early exit with error if root is not a git dir This broke reporting workflow in a case where artifact was being reported from a docker container. Previously, Fetching head manually was done in the end, after checking all env variables. In the last change, we were still doing an early exit when the git rev parse command threw an error, not allowing the flow to reach till extracting git commit from env variable set in docker container. This change restores the previous workflow. * move GIT_COMMIT_SHA env lookup to the top * don't make another env lookup call
- Loading branch information
1 parent
5104c0a
commit 4edee8f
Showing
2 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters