mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 12:18:09 +08:00
[FIX] fixed gaops path
This commit is contained in:
parent
a6b30948a9
commit
18864b683e
@ -9,7 +9,7 @@ BASE_NAME=rainbond
|
|||||||
releasedir=./.release
|
releasedir=./.release
|
||||||
distdir=${releasedir}/dist
|
distdir=${releasedir}/dist
|
||||||
#gaops='git@code.goodrain.com:goodrain/gaops.git'
|
#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//')
|
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/local/" ] && mkdir -p $distdir/usr/local/bin
|
||||||
[ ! -d "$distdir/usr/share/gr-rainbond-node/gaops/" ] && mkdir -pv $distdir/usr/share/gr-rainbond-node/gaops
|
[ ! -d "$distdir/usr/share/gr-rainbond-node/gaops/" ] && mkdir -pv $distdir/usr/share/gr-rainbond-node/gaops
|
||||||
cd $releasedir/tmp
|
cd $releasedir/tmp
|
||||||
cp -a $path$gaopsdir ./
|
cp -a $path$gaopsdir/* ./
|
||||||
tar zcf ../dist/usr/share/gr-rainbond-node/gaops/gaops.tgz ./
|
tar zcf ../dist/usr/share/gr-rainbond-node/gaops/gaops.tgz ./
|
||||||
cd $path
|
cd $path
|
||||||
rm -rf $releasedir/tmp
|
rm -rf $releasedir/tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user