Skip to content

Commit

Permalink
delete workflow and use correct path for downlaods
Browse files Browse the repository at this point in the history
  • Loading branch information
qnlbnsl committed Dec 3, 2024
1 parent 3afbf51 commit 2008a99
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file removed assets/firmware/esphome/satellite1-esp32s3.ota.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ def get_release_info(release_tag, release_repository, GITHUB_TOKEN):
def download_release(url, beta, FIRMWARE_FILE_DIR):
# Download the release
FILE_DIR = os.path.join(FIRMWARE_FILE_DIR, "beta") if beta else os.path.join(FIRMWARE_FILE_DIR, "production")
os.makedirs(FIRMWARE_FILE_DIR, exist_ok=True)
os.makedirs(FILE_DIR, exist_ok=True)

# Determine the filename and file path
filename = os.path.basename(url)
file_path = os.path.join(FIRMWARE_FILE_DIR, filename)
file_path = os.path.join(FILE_DIR, filename)

# Download the release
request = urllib.request.Request(url)
Expand Down

0 comments on commit 2008a99

Please sign in to comment.