You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ti...@apache.org on 2019/09/29 11:18:43 UTC
[servicecomb-kie] branch master updated: fix wrong var,
command (#34)
This is an automated email from the ASF dual-hosted git repository.
tianxiaoliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-kie.git
The following commit(s) were added to refs/heads/master by this push:
new 7e6ab0d fix wrong var, command (#34)
7e6ab0d is described below
commit 7e6ab0da1e41f1141052d1b22296d880245bd23e
Author: Shawn <xi...@gmail.com>
AuthorDate: Sun Sep 29 19:18:39 2019 +0800
fix wrong var, command (#34)
---
build/build_server.sh | 4 ++--
build/release.sh | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/build/build_server.sh b/build/build_server.sh
index 8b94b53..655dddd 100755
--- a/build/build_server.sh
+++ b/build/build_server.sh
@@ -87,8 +87,8 @@ EOM
writeConfig
component="apache-servicecomb-kie"
-x86_pkg_name="$component-$VERSION-linux-amd64.tar.gz"
-arm_pkg_name="$component-$VERSION-linux-arm64.tar.gz"
+x86_pkg_name="$component-$version-linux-amd64.tar.gz"
+arm_pkg_name="$component-$version-linux-arm64.tar.gz"
echo "packaging x86 tar.gz..."
cd ${release_dir}
diff --git a/build/release.sh b/build/release.sh
index 14aaf41..63d5a33 100755
--- a/build/release.sh
+++ b/build/release.sh
@@ -26,8 +26,8 @@ cd $PROJECT_DIR/release/kie
gpg --armor --output "${x86_pkg_name}".asc --detach-sig "${x86_pkg_name}"
gpg --armor --output "${arm_pkg_name}".asc --detach-sig "${arm_pkg_name}"
#512
-gpg --print-md SHA512 "${x86_pkg_name}" > "${x86_pkg_name}".sha512
-gpg --print-md SHA512 "${arm_pkg_name}" > "${arm_pkg_name}".sha512
+sha512sum "${x86_pkg_name}" > "${x86_pkg_name}".sha512
+sha512sum "${arm_pkg_name}" > "${arm_pkg_name}".sha512
#src
wget "https://github.com/apache/servicecomb-kie/archive/v${VERSION}.tar.gz"
@@ -36,4 +36,4 @@ mv "v${VERSION}.tar.gz" "${src_name}"
gpg --armor --output "$src_name.asc" --detach-sig "${src_name}"
-gpg --print-md SHA512 "${src_name}" > "${src_name}".sha512
\ No newline at end of file
+sha512sum "${src_name}" > "${src_name}".sha512
\ No newline at end of file