diff --git a/hubble-dist/pom.xml b/hubble-dist/pom.xml index b2bb2d2e..bb2e3459 100644 --- a/hubble-dist/pom.xml +++ b/hubble-dist/pom.xml @@ -14,9 +14,11 @@ hugegraph-hubble ${release.name}-${project.version} + ${project.basedir}/.. ${project.basedir}/assembly ${assembly.dir}/descriptor ${assembly.dir}/static + ${top.level.basedir}/hubble-fe bash @@ -62,10 +64,18 @@ + cd ${hubble-fe.dir} + yarn install && yarn build || exit 1 + echo "hubble-fe build ok." + + cd .. + rm -rf ${final.name}/ui + cp -r ${hubble-fe.dir}/build ${final.name}/ui + tar -zcvf ${top.level.dir}/${final.name}.tar.gz ${final.name} || exit 1 - rm -f ${top.level.dir}/dist.sh echo -n "hugegraph-hubble tar.gz available at: " echo "${top.level.dir}/${final.name}.tar.gz" + rm -f ${top.level.dir}/dist.sh