[FIX] fixed gaops path

This commit is contained in:
ysicing 2017-12-10 22:37:48 +08:00
parent a6b30948a9
commit 18864b683e

View File

@ -9,7 +9,7 @@ BASE_NAME=rainbond
releasedir=./.release
distdir=${releasedir}/dist
#gaops='git@code.goodrain.com:goodrain/gaops.git'
gaopsdir=/hack/contrib/docker/node/gaops/
gaopsdir=/hack/contrib/docker/node/gaops
gitDescribe=$(git describe --tag|sed 's/^v//')
@ -38,7 +38,7 @@ function prepare() {
[ ! -d "$distdir/usr/local/" ] && mkdir -p $distdir/usr/local/bin
[ ! -d "$distdir/usr/share/gr-rainbond-node/gaops/" ] && mkdir -pv $distdir/usr/share/gr-rainbond-node/gaops
cd $releasedir/tmp
cp -a $path$gaopsdir ./
cp -a $path$gaopsdir/* ./
tar zcf ../dist/usr/share/gr-rainbond-node/gaops/gaops.tgz ./
cd $path
rm -rf $releasedir/tmp