mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 02:39:57 +00:00
Update nightly build to use the same release build archive for the nightly
This commit is contained in:
parent
a74384f3f5
commit
4ebc07b691
@ -28,7 +28,8 @@ date_stamp=$(date +'%Y-%m-%d')
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# TODO: Archive the same binaries used by the build-all script.
|
# 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
|
# Copy the file to the webserver
|
||||||
scp meshtastic_device_nightly_${date_stamp}.zip jm@10.11.12.20:/volume1/web/meshtastic/nightly_builds/
|
scp meshtastic_device_nightly_${date_stamp}.zip jm@10.11.12.20:/volume1/web/meshtastic/nightly_builds/
|
||||||
|
Loading…
Reference in New Issue
Block a user