update get latest script

This commit is contained in:
Djuri Baars 2024-12-20 02:17:21 +01:00
parent d8eaecee4f
commit 72c7035571

View file

@ -16,14 +16,14 @@ echo $tag_name > public/firmware_v3/tag.txt
cd public/ cd public/
# Download and distribute littlefs files # # Download and distribute littlefs files
littlefs_url=$(echo $release_data | jq -r '.assets[] | select(.name=="littlefs.bin") | .browser_download_url') # littlefs_url=$(echo $release_data | jq -r '.assets[] | select(.name=="littlefs.bin") | .browser_download_url')
littlefs_sha_url=$(echo $release_data | jq -r '.assets[] | select(.name=="littlefs.bin.sha256") | .browser_download_url') # littlefs_sha_url=$(echo $release_data | jq -r '.assets[] | select(.name=="littlefs.bin.sha256") | .browser_download_url')
for dir in firmware_v3/build-btclock_rev_b-213epd firmware_v3/build-lolin_s3_mini-29epd firmware_v3/build-lolin_s3_mini-213epd; do # for dir in firmware_v3/build-btclock_rev_b-213epd firmware_v3/build-lolin_s3_mini-29epd firmware_v3/build-lolin_s3_mini-213epd; do
curl -sSL $littlefs_url -o "$dir/littlefs.bin" # curl -sSL $littlefs_url -o "$dir/littlefs.bin"
curl -sSL $littlefs_sha_url -o "$dir/littlefs.bin.sha256" # curl -sSL $littlefs_sha_url -o "$dir/littlefs.bin.sha256"
done # done
# Function to download and distribute board-specific files # Function to download and distribute board-specific files
download_board_files() { download_board_files() {