Who generates default bundle? #3368

This commit is contained in:
rusefillc 2021-10-18 22:34:34 -04:00
parent 41321fbba1
commit a3706c273f
1 changed files with 3 additions and 1 deletions

View File

@ -128,7 +128,7 @@ cd $FOLDER
zip -r ../$UPDATE_BUNDLE_FILE *
cd ..
ls -l $UPDATE_BUNDLE_FILE
if [ -n "$RUSEFI_FTP_SERVER" ]; then
if [ -n "$RUSEFI_BUILD_FTP_USER" ]; then
echo put $UPDATE_BUNDLE_FILE autoupdate > cmd
cat cmd
sshpass -p $RUSEFI_BUILD_FTP_PASS sftp -o StrictHostKeyChecking=no $RUSEFI_BUILD_FTP_USER@$RUSEFI_FTP_SERVER <<< `cat cmd`
@ -137,6 +137,8 @@ if [ -n "$RUSEFI_FTP_SERVER" ]; then
echo "autoupdate upload failed"
exit 1
fi
else
echo "Upload not configured"
fi
cd ..
mv temp/$UPDATE_BUNDLE_FILE artifacts