update get latest script
This commit is contained in:
parent
d8eaecee4f
commit
72c7035571
1 changed files with 7 additions and 7 deletions
|
@ -16,14 +16,14 @@ echo $tag_name > public/firmware_v3/tag.txt
|
|||
|
||||
cd public/
|
||||
|
||||
# Download and distribute littlefs files
|
||||
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')
|
||||
# # Download and distribute littlefs files
|
||||
# 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')
|
||||
|
||||
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_sha_url -o "$dir/littlefs.bin.sha256"
|
||||
done
|
||||
# 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_sha_url -o "$dir/littlefs.bin.sha256"
|
||||
# done
|
||||
|
||||
# Function to download and distribute board-specific files
|
||||
download_board_files() {
|
||||
|
|
Loading…
Reference in a new issue