Update nightly build to use the same release build archive for the nightly

1.2-legacy
Jm Casler 2021-03-21 09:42:55 -07:00
rodzic a74384f3f5
commit 4ebc07b691
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,8 @@ date_stamp=$(date +'%Y-%m-%d')
cd ..
# TODO: Archive the same binaries used by the build-all script.
zip -r meshtastic_device_nightly_${date_stamp} Meshtastic-device/release/latest/bins
#zip -r meshtastic_device_nightly_${date_stamp} Meshtastic-device/release/latest/bins
cp Meshtastic-device/release/archive/`ls -t ./Meshtastic-device/release/archive/| head -1` meshtastic_device_nightly_${date_stamp}.zip
# Copy the file to the webserver
scp meshtastic_device_nightly_${date_stamp}.zip jm@10.11.12.20:/volume1/web/meshtastic/nightly_builds/