This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch release-1.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/release-1.2.0 by this push:
new 672b1a062 fix(dist): update relative path for the 1.2.0
672b1a062 is described below
commit 672b1a0626348a62f362d4e2b050b63c4da70cef
Author: imbajin <[email protected]>
AuthorDate: Fri Dec 15 12:13:24 2023 +0800
fix(dist): update relative path for the 1.2.0
---
hugegraph-server/hugegraph-dist/pom.xml | 16 ----------------
.../hugegraph-dist/scripts/apache-release.sh | 4 ++--
2 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/hugegraph-server/hugegraph-dist/pom.xml
b/hugegraph-server/hugegraph-dist/pom.xml
index cdec80950..9a58ac767 100644
--- a/hugegraph-server/hugegraph-dist/pom.xml
+++ b/hugegraph-server/hugegraph-dist/pom.xml
@@ -293,22 +293,6 @@
<include
name="${final.name}/**"/>
</tarfileset>
</tar>
- <!-- copy the artifacts to root
- directory for better user
experience -->
- <!-- REMOVE ME after revision 1.5.0 -->
- <exec executable="cp"
- dir="${project.basedir}"
- failonerror="false">
- <arg value="-r"/>
- <arg value="../${final.name}"/>
- <arg value="../../${final.name}"/>
- </exec>
- <exec executable="cp"
- dir="${project.basedir}"
- failonerror="false">
- <arg
value="../${final.name}.tar.gz"/>
- <arg
value="../../${final.name}.tar.gz"/>
- </exec>
</target>
</configuration>
</execution>
diff --git a/hugegraph-server/hugegraph-dist/scripts/apache-release.sh
b/hugegraph-server/hugegraph-dist/scripts/apache-release.sh
index a92a59b37..277fed8b7 100755
--- a/hugegraph-server/hugegraph-dist/scripts/apache-release.sh
+++ b/hugegraph-server/hugegraph-dist/scripts/apache-release.sh
@@ -33,13 +33,13 @@ WORK_DIR=$(
pwd
)
cd "${WORK_DIR}" || exit
-echo "In the work dir: $(pwd)"
+echo "Current work dir: $(pwd)"
# clean old dir then build a new one
rm -rf dist && mkdir -p dist/apache-${REPO}
# step1: package the source code
-cd ../../
+cd ../../../ && echo "Package source in: $(pwd)"
git archive --format=tar.gz \
--output="hugegraph-server/hugegraph-dist/scripts/dist/apache-${REPO}/apache-${REPO}-incubating-${RELEASE_VERSION}-src.tar.gz"
\
--prefix=apache-${REPO}-incubating-"${RELEASE_VERSION}"-src/ "${GIT_BRANCH}"
|| exit