Skip to content

Commit

Permalink
Add BASEDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Apr 24, 2017
1 parent 962a5e1 commit 81f6985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bosh-create-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e

BASEDIR=`pwd`
if [ -d repo-version ];then
VERSION=`cat repo-version/number`
BOSH_OPTS="--version ${VERSION} --final"
Expand All @@ -9,7 +9,7 @@ else
fi

cd repo
utils/scripts/generate-private-yml.sh
${BASEDIR}/utils/scripts/generate-private-yml.sh
mkdir src
bosh -n create release --force --with-tarball ${BOSH_OPTS}
mv ./*releases/*/*.tgz ../releases/

0 comments on commit 81f6985

Please sign in to comment.