#!/bin/bash -e

cd $(dirname $0)/../../

if [ -e "$VERSION_FILE" ]; then
  export VERSION=$(cat $VERSION_FILE)
  echo "Using VERSION=\"$VERSION\""
else
  echo "The \$VERSION_FILE \"$VERSION_FILE\" does not exist"
  exit 1
fi

bosh -u x -p x target $BOSH_TARGET Lite
bosh login $BOSH_USERNAME $BOSH_PASSWORD

if [ -z "$BLOBSTORE_TYPE" ]
then
  ./scripts/generate-default-bosh-lite-manifest
else
  ./scripts/generate-test-bosh-lite-manifest ./templates/$BLOBSTORE_TYPE.yml
fi

cp deployments/bits-service-release.yml "../manifests/manifest-$VERSION_FILE.yml"

#!/bin/bash -e

cd $(dirname $0)/../../

if [ -e "$VERSION_FILE" ]; then
  export VERSION=$(cat $VERSION_FILE)
  echo "Using VERSION=\"$VERSION\""
else
  echo "The \$VERSION_FILE \"$VERSION_FILE\" does not exist"
  exit 1
fi

bosh -u x -p x target $BOSH_TARGET Lite
bosh login $BOSH_USERNAME $BOSH_PASSWORD

if [ -z "$BLOBSTORE_TYPE" ]
then
  ./scripts/generate-default-bosh-lite-manifest
else
  ./scripts/generate-test-bosh-lite-manifest ./templates/$BLOBSTORE_TYPE.yml
fi

cp deployments/bits-service-release.yml ../manifests/manifest-$VERSION.yml

Fix manfiest versioning on CI
Fix manfiest versioning on CI

[#117927603

Signed-off-by: Steffen Uhlig <f82265073a33b8214db2ab356bc472f35869736c@de.ibm.com>
