#!/bin/bash -l
echo "Uploading bosh release..."
set -ex -o pipefail


echo "Targeting bosh director..."
pushd "env-repo/$BOSH_ENV"
  eval "$(bbl print-env)"
popd

echo "Uploading any matching releases..."
pushd bosh-release
  bosh upload-release $RELEASES_GLOB
popd

echo "All done."

#!/bin/bash -l
set -xeuo pipefail

echo "Targeting bosh director..."
pushd "env-repo/$BOSH_ENV"
  set +x
  eval "$(bbl print-env)"
  set -x
  trap "pkill -f ssh" EXIT
popd

echo "Uploading any matching releases..."
pushd bosh-release
  bosh upload-release $RELEASES_GLOB
popd

echo "All done."

Update bosh release upload script
Update bosh release upload script

Make it more like other examples
[#159909406]

Signed-off-by: Leah Hanson <59915d4d5a651c1df4fd522b917423b47c84f68b@pivotal.io>
