imbajin commented on code in PR #2048:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2048#discussion_r1045040775


##########
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"
 \

Review Comment:
   no need to update the output prefix? why change it?



##########
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 ../../

Review Comment:
   also add `|| exit` to avoid error



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to