Skip to content

Commit

Permalink
Hotfix for default target in certain bootstrap modes (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedger authored Jun 16, 2023
1 parent f422444 commit 2ab3464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
0.2.4.1
3 changes: 3 additions & 0 deletions ufbt/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ def _func(self, args) -> int:
else:
if current_task.mode:
task_to_deploy = current_task
# No previous state, use default hw target
if not task_to_deploy.hw_target:
task_to_deploy.hw_target = SdkDeployTask.DEFAULT_HW_TARGET
else:
log.warn("No previous SDK state was found, fetching latest release")
task_to_deploy = SdkDeployTask.default()
Expand Down

0 comments on commit 2ab3464

Please sign in to comment.