Skip to content

Commit

Permalink
Merge pull request #13 from bitcraze/rik/bl
Browse files Browse the repository at this point in the history
Add cf21bl
  • Loading branch information
gemenerik authored Aug 8, 2024
2 parents d0c5b5a + 6888c80 commit 08f2305
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build_targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"cf2",
"bolt",
"tag",
"flapper"
"flapper",
"cf21bl"
]
}
2 changes: 1 addition & 1 deletion tools/build/package
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _download_latest(path, repository: str, branch: str, fw_platform: str) -> st
found_artifact = None
if fw_platform is not None:
for artifact in artifacts['artifacts']:
if artifact["name"].startswith(fw_platform):
if artifact["name"].split('-')[0] == fw_platform:
found_artifact = artifact
version = found_artifact['name'].replace(fw_platform + "-", "")
break
Expand Down

0 comments on commit 08f2305

Please sign in to comment.