You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/03/11 07:40:31 UTC

[incubator-servicecomb-service-center] 01/01: Added incubating to the release kit name

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

ningjiang pushed a commit to branch SCB-380
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git

commit 300e8a6ce8a3f8c12257af60208f5adc89409a91
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sun Mar 11 15:40:14 2018 +0800

    Added incubating to the release kit name
---
 scripts/release/make_release.sh                        | 18 +++++++++---------
 scripts/release/start_scripts/linux/start-frontend.sh  |  2 +-
 .../start_scripts/linux/start-service-center.sh        |  2 +-
 scripts/release/start_scripts/linux/stop-frontend.sh   |  2 +-
 .../release/start_scripts/linux/stop-service-center.sh |  2 +-
 .../release/start_scripts/windows/start-frontend.bat   |  2 +-
 .../start_scripts/windows/start-service-center.bat     |  2 +-
 7 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/scripts/release/make_release.sh b/scripts/release/make_release.sh
index 6c778f7..b7a18f1 100755
--- a/scripts/release/make_release.sh
+++ b/scripts/release/make_release.sh
@@ -24,7 +24,7 @@ else
 fi
 
 #Package prefix for the release directory
-PACKAGE_PREFIX=apache-incubator-servicecomb-service-center
+PACKAGE_PREFIX=apache-servicecomb-incubating-service-center
 
 ## Get the PACKAGE NUMBER
 if [ $3 == "" ]; then
@@ -88,13 +88,13 @@ build_linux(){
     export BUILD_NUMBER=$RELEASE
     GO_LDFLAGS="${GO_LDFLAGS} -X 'github.com/apache/incubator-servicecomb-service-center/version.BUILD_TAG=$(date +%Y%m%d%H%M%S).$BUILD_NUMBER.$GIT_COMMIT'"
     GO_LDFLAGS="${GO_LDFLAGS} -X 'github.com/apache/incubator-servicecomb-service-center/version.VERSION=$BUILD_NUMBER'"
-    go build --ldflags "${GO_LDFLAGS}" -o apache-incubator-servicecomb-service-center
-    cp -r apache-incubator-servicecomb-service-center $PACKAGE_PREFIX-$PACKAGE-linux-amd64
+    go build --ldflags "${GO_LDFLAGS}" -o service-center
+    cp -r service-center $PACKAGE_PREFIX-$PACKAGE-linux-amd64
 
     ## Build Frontend Release
     cd frontend
-    go build -o apache-incubator-serviceomb-frontend
-    cp -r apache-incubator-serviceomb-frontend ../$PACKAGE_PREFIX-$PACKAGE-linux-amd64
+    go build -o frontend
+    cp -r frontend ../$PACKAGE_PREFIX-$PACKAGE-linux-amd64
     cd ..
 
     prepare_conf
@@ -141,13 +141,13 @@ build_windows(){
     export BUILD_NUMBER=$RELEASE
     GO_LDFLAGS="${GO_LDFLAGS} -X 'github.com/apache/incubator-servicecomb-service-center/version.BUILD_TAG=$(date +%Y%m%d%H%M%S).$BUILD_NUMBER.$GIT_COMMIT'"
     GO_LDFLAGS="${GO_LDFLAGS} -X 'github.com/apache/incubator-servicecomb-service-center/version.VERSION=$BUILD_NUMBER'"
-    go build --ldflags "${GO_LDFLAGS}" -o apache-incubator-servicecomb-service-center.exe
-    cp -r apache-incubator-servicecomb-service-center.exe $PACKAGE_PREFIX-$PACKAGE-windows-amd64
+    go build --ldflags "${GO_LDFLAGS}" -o service-center.exe
+    cp -r service-center.exe $PACKAGE_PREFIX-$PACKAGE-windows-amd64
 
     ## Build Frontend release
     cd frontend
-    go build -o apache-incubator-serviceomb-frontend.exe
-    cp -r apache-incubator-serviceomb-frontend.exe ../$PACKAGE_PREFIX-$PACKAGE-windows-amd64
+    go build -o frontend.exe
+    cp -r frontend.exe ../$PACKAGE_PREFIX-$PACKAGE-windows-amd64
     cd ..
 
     prepare_conf
diff --git a/scripts/release/start_scripts/linux/start-frontend.sh b/scripts/release/start_scripts/linux/start-frontend.sh
index fe32a75..cb72d6f 100644
--- a/scripts/release/start_scripts/linux/start-frontend.sh
+++ b/scripts/release/start_scripts/linux/start-frontend.sh
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-./apache-incubator-serviceomb-frontend > start-sc-frontend.log 2>&1 &
+./frontend > start-sc-frontend.log 2>&1 &
diff --git a/scripts/release/start_scripts/linux/start-service-center.sh b/scripts/release/start_scripts/linux/start-service-center.sh
index baa50bc..758f07b 100644
--- a/scripts/release/start_scripts/linux/start-service-center.sh
+++ b/scripts/release/start_scripts/linux/start-service-center.sh
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-./apache-incubator-servicecomb-service-center > start-sc.log 2>&1 &
+./service-center > start-sc.log 2>&1 &
diff --git a/scripts/release/start_scripts/linux/stop-frontend.sh b/scripts/release/start_scripts/linux/stop-frontend.sh
index 642c0d8..1634468 100644
--- a/scripts/release/start_scripts/linux/stop-frontend.sh
+++ b/scripts/release/start_scripts/linux/stop-frontend.sh
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-kill -9 $(ps aux | grep 'apache-incubator-serviceomb-frontend' | awk '{print $2}')
+kill -9 $(ps aux | grep 'frontend' | awk '{print $2}')
diff --git a/scripts/release/start_scripts/linux/stop-service-center.sh b/scripts/release/start_scripts/linux/stop-service-center.sh
index 3f8216b..0e27b1f 100644
--- a/scripts/release/start_scripts/linux/stop-service-center.sh
+++ b/scripts/release/start_scripts/linux/stop-service-center.sh
@@ -15,4 +15,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-kill -9 $(ps aux | grep 'apache-incubator-servicecomb-service-center' | awk '{print $2}')
+kill -9 $(ps aux | grep 'service-center' | awk '{print $2}')
diff --git a/scripts/release/start_scripts/windows/start-frontend.bat b/scripts/release/start_scripts/windows/start-frontend.bat
index 95d985e..3e18236 100644
--- a/scripts/release/start_scripts/windows/start-frontend.bat
+++ b/scripts/release/start_scripts/windows/start-frontend.bat
@@ -13,4 +13,4 @@
 :: See the License for the specific language governing permissions and
 :: limitations under the License.
 
-apache-incubator-serviceomb-frontend.exe
+frontend.exe
diff --git a/scripts/release/start_scripts/windows/start-service-center.bat b/scripts/release/start_scripts/windows/start-service-center.bat
index b5d4449..f1771d7 100644
--- a/scripts/release/start_scripts/windows/start-service-center.bat
+++ b/scripts/release/start_scripts/windows/start-service-center.bat
@@ -13,4 +13,4 @@
 :: See the License for the specific language governing permissions and
 :: limitations under the License.
 
-apache-incubator-servicecomb-service-center.exe
+service-center.exe

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.