imbajin commented on code in PR #383: URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/383#discussion_r1032911425
########## hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh: ########## @@ -18,11 +18,21 @@ set -ev if [[ $# -ne 1 ]]; then - echo "Must pass server version of hugegraph" - exit 1 + echo "Must input an existing commit id of hugegraph server" && exit 1 fi -VERSION=$1 -HUGEGRAPH_LINK="https://github.com/hugegraph/hugegraph/releases/download/v${VERSION}/hugegraph-${VERSION}.tar.gz" +COMMIT_ID=$1 +HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" +GIT_DIR=hugegraph -wget "${HUGEGRAPH_LINK}" || exit 1 +# download code and compile +git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR +cd "${GIT_DIR}" +git checkout "${COMMIT_ID}" +mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp + +# TODO: lack incubator after apache package release (update it later) Review Comment: we need update server's pkg name to ''hugegraph-incubator-xxx.*' update it in server later -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org