From bf2cbbd8f53cc2c668cef9bec0d5e4f56135d065 Mon Sep 17 00:00:00 2001 From: vaughn Date: Sat, 10 Dec 2022 17:19:58 +0800 Subject: [PATCH] fix: source package --- hugegraph-dist/scripts/apache-release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hugegraph-dist/scripts/apache-release.sh b/hugegraph-dist/scripts/apache-release.sh index e8ed96b6bc..b40bb31dcf 100755 --- a/hugegraph-dist/scripts/apache-release.sh +++ b/hugegraph-dist/scripts/apache-release.sh @@ -34,9 +34,11 @@ echo "In the work dir: $(pwd)" rm -rfv dist && mkdir -p dist/apache-${REPO} # step1: package the source code +cd ../../ git archive --format=tar.gz \ - --output="dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \ + --output="hugegraph-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz" \ --prefix=apache-${REPO}-"${RELEASE_VERSION}"-incubating-src/ "${GIT_BRANCH}" || exit +cd - # step2: copy the binary file (Optional) # Note: it's optional for project to generate binary package (skip this step if not need)