Skip to content

Commit

Permalink
Merge pull request #129 from sdgtt/git-sha-fix
Browse files Browse the repository at this point in the history
downloader: include other build folder format
  • Loading branch information
kimpaller authored Dec 19, 2024
2 parents 02f6526 + 3901a31 commit e2deb20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nebula/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def get_gitsha(url, daily=False, linux=False, hdl=False, build_info=None):
with open(file, "a+") as f:
path = ArtifactoryPath(str(url))
props = path.properties
exp = "20[1-2][0-9]_[0-3][0-9]_[0-3][0-9]-[0-2][0-9]_[0-6][0-9]_[0-6][0-9]"
exp = (
"20[1-2][0-9]_[0-1][0-9]_[0-3][0-9][-_][0-2][0-9]_[0-5][0-9](_[0-5][0-9])?"
)

if build_info:
if build_info["Triggered by"] == "hdl":
Expand Down

0 comments on commit e2deb20

Please sign in to comment.