lint fix
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 41s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m46s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m24s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m35s
Smoke Test / Run basic test suite (pull_request) Successful in 3m54s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 41s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m46s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m24s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m35s
Smoke Test / Run basic test suite (pull_request) Successful in 3m54s
This commit is contained in:
parent
3ef18542b5
commit
20394169ce
@ -86,7 +86,7 @@ def _get_repo_current_branch_or_tag(full_filesystem_repo_path):
|
|||||||
current_repo_branch_or_tag = git.Repo(full_filesystem_repo_path).git.describe("--tags", "--exact-match")
|
current_repo_branch_or_tag = git.Repo(full_filesystem_repo_path).git.describe("--tags", "--exact-match")
|
||||||
# Note that git is asymmetric -- the tag you told it to check out may not be the one
|
# Note that git is asymmetric -- the tag you told it to check out may not be the one
|
||||||
# you get back here (if there are multiple tags associated with the same commit)
|
# you get back here (if there are multiple tags associated with the same commit)
|
||||||
except GitCommandError as e:
|
except GitCommandError:
|
||||||
# If there is no matching branch or tag checked out, just use the current SHA
|
# If there is no matching branch or tag checked out, just use the current SHA
|
||||||
current_repo_branch_or_tag = git.Repo(full_filesystem_repo_path).commit("HEAD").hexsha
|
current_repo_branch_or_tag = git.Repo(full_filesystem_repo_path).commit("HEAD").hexsha
|
||||||
return current_repo_branch_or_tag, is_branch
|
return current_repo_branch_or_tag, is_branch
|
||||||
|
Loading…
Reference in New Issue
Block a user