From 4ebc07b691c8575f20398fac25b7ba955a7a7747 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 21 Mar 2021 09:42:55 -0700 Subject: [PATCH] Update nightly build to use the same release build archive for the nightly --- bin/build-nightly.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build-nightly.sh b/bin/build-nightly.sh index cd545c7fb..de31c6ed1 100755 --- a/bin/build-nightly.sh +++ b/bin/build-nightly.sh @@ -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/