This commit is contained in:
Wade Wegner 2018-03-23 07:26:05 -07:00
Родитель c7ad829218
Коммит b8ee4c396e
3 изменённых файлов: 29 добавлений и 3 удалений

Просмотреть файл

@ -25,8 +25,6 @@ source $BP_DIR/lib/stdlib.sh
export_env "$ENV_DIR"
setup_dirs "$BUILD_DIR"
vendorDir="vendor/sfdx"
mkdir -p $BUILD_DIR/$vendorDir
@ -50,8 +48,12 @@ else
if [ "$STAGE" == "" ]; then
echo "$(cat files/reviewapp-build.txt)"
else
elif [ "$STAGE" == "DEV" ]; then
echo "$(cat files/dev-build.txt)"
elif [ "$STAGE" == "STAGING" ]; then
echo "$(cat files/staging-build.txt)"
else
echo "$(cat files/prod-build.txt)"
fi
fi

12
files/prod-build.txt Normal file
Просмотреть файл

@ -0,0 +1,12 @@
-----> salesforce-buildpack app detected
-----> Welcome to salesforce-buildpack!
Exporting environment directories ...
Setting up paths ...
Parse sfdx.yml values ...
Auth to dev hub ...
Successfully authorized wade-hub@na50.com with org ID 00D6A000001UZT9UAO
Creating Procfile ...
Copying files for release phase ...
-----> DONE! Completed in 226s

12
files/staging-build.txt Normal file
Просмотреть файл

@ -0,0 +1,12 @@
-----> salesforce-buildpack app detected
-----> Welcome to salesforce-buildpack!
Exporting environment directories ...
Setting up paths ...
Parse sfdx.yml values ...
Auth to dev hub ...
Successfully authorized wade-hub@na50.com with org ID 00D6A000001UZT9UAO
Creating Procfile ...
Copying files for release phase ...
-----> DONE! Completed in 226s