This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a0352ea chore(dist): fix path when exporting source package (#319)
1a0352ea is described below

commit 1a0352ea539d138b68d4d1794fef21b38bf91408
Author: V_Galaxy <[email protected]>
AuthorDate: Sun Nov 10 23:15:30 2024 +0800

    chore(dist): fix path when exporting source package (#319)
---
 .gitattributes                                   | 4 +++-
 computer/computer-dist/scripts/apache-release.sh | 5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitattributes b/.gitattributes
index 1b26b132..170b481e 100755
--- a/.gitattributes
+++ b/.gitattributes
@@ -6,4 +6,6 @@
 
 # ignored directory
 .github/ export-ignore
-computer-k8s-operator/crd-generate/bin/ export-ignore
+computer/computer-k8s-operator/crd-generate/bin/ export-ignore
+computer/computer-dist/scripts/ export-ignore
+computer/computer-dist/release-docs/ export-ignore
diff --git a/computer/computer-dist/scripts/apache-release.sh 
b/computer/computer-dist/scripts/apache-release.sh
index d3b94892..9ed75d9d 100755
--- a/computer/computer-dist/scripts/apache-release.sh
+++ b/computer/computer-dist/scripts/apache-release.sh
@@ -39,9 +39,10 @@ echo "In the work dir: $(pwd)"
 rm -rf dist && mkdir -p dist/apache-${REPO}
 
 # step1: package the source code
-cd ../../ || exit
+cd ../../../ || exit
+pwd
 git archive --format=tar.gz \
-  
--output="computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz"
 \
+  
--output="computer/computer-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz"
 \
   --prefix="apache-${REPO}-incubating-${RELEASE_VERSION}-src/" "${GIT_BRANCH}" 
|| exit
 cd - || exit
 

Reply via email to