Fix Bundles (#1610)

* facepalm

* define BUNDLE_NAME

* oops
This commit is contained in:
David Holdeman 2020-07-16 19:51:55 -05:00 committed by GitHub
parent fd96a0ddab
commit f6fad72b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,14 +1,15 @@
#!/bin/bash
BUNDLE_NAME="$1"
SCRIPT_NAME="prepare_bundle.sh"
echo "Entering $SCRIPT_NAME with $BUNDLE_NAME"
echo "Entering $SCRIPT_NAME with ${BUNDLE_NAME}"
echo "RUSEFI_BUILD_FTP_USER=$RUSEFI_BUILD_FTP_USER"
TIMESTAMP=$(date "+%Y%m%d_%H%M%S")
export FOLDER="temp/snapshot_${TIMESTAMP}_${2}_rusefi"
export FOLDER="temp/snapshot_${TIMESTAMP}_${BUNDLE_NAME}_rusefi"
export BUNDLE_FULL_NAME="rusefi_bundle_$BUNDLE_NAME"
export BUNDLE_FULL_NAME="rusefi_bundle_${BUNDLE_NAME}"
bash misc/jenkins/build_working_folder.sh