Skip to content

Commit

Permalink
downloader: fix getting bootpartition folder for properties.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo committed Jan 7, 2025
1 parent 3a401b2 commit fc50856
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nebula/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ 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-1][0-9]_[0-3][0-9][-_][0-2][0-9]_[0-5][0-9](_[0-5][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 fc50856

Please sign in to comment.