#!/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."

#!/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 "$RELEASE"
popd

echo "All done."

Fix missed variable name update
Fix missed variable name update

Signed-off-by: Andrew Meyer <8f92422f5861fc9f31873f75dd770facd670512b@pivotal.io>
