Skip to content

Commit

Permalink
fix: source package
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Dec 10, 2022
1 parent 3b4a4d1 commit bf2cbbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hugegraph-dist/scripts/apache-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf2cbbd

Please sign in to comment.