Create a versioned copy of single-vm manifest
set -e -x
-FINAL_RELEASE_TARBALL=$PWD/final-release-tarball
+FINAL_RELEASE_DIR=$PWD/final-release-tarball
FINAL_RELEASE_REPO=$PWD/final-release-repo
CANDIDATE_DIR=$PWD/bosh-rc
@@ -21,7 +21,7 @@ echo "$BOSH_PRIVATE_CONFIG" > $FINAL_RELEASE_REPO/config/private.yml
cd $FINAL_RELEASE_REPO
RELEASE_YML=$PWD/releases/concourse/concourse-${VERSION}.yml
-FINAL_RELEASE_TGZ=$FINAL_RELEASE_TARBALL/concourse-${VERSION}.tgz
+FINAL_RELEASE_TGZ=$FINAL_RELEASE_DIR/concourse-${VERSION}.tgz
# work-around Go BOSH CLI trying to rename blobs downloaded into ~/.root/tmp
# into release dir, which is invalid cross-device link
@@ -39,3 +39,5 @@ if ! [ -e ${RELEASE_YML} ]; then
fi
bosh -n create-release --tarball ${FINAL_RELEASE_TGZ} ${RELEASE_YML}
+
+cp $PWD/manifests/single-vm.yml ${FINAL_RELEASE_DIR}/single-vm-${VERSION}.yml
