asifdxtreme closed pull request #301: SCB-317 Update the release scripts to
replace incubator with incubating
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/301
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/scripts/release/make_release.sh b/scripts/release/make_release.sh
index 6c778f79..7d4fbf7d 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-incubating-servicecomb-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
apache-incubating-servicecomb-service-center
+ cp -r apache-incubating-servicecomb-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 apache-incubating-servicecomb-frontend
+ cp -r apache-incubating-servicecomb-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
apache-incubating-servicecomb-service-center.exe
+ cp -r apache-incubating-servicecomb-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 apache-incubating-servicecomb-frontend.exe
+ cp -r apache-incubating-servicecomb-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 fe32a755..9c833240 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 &
+./apache-incubating-servicecomb-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 baa50bce..431f5208 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 &
+./apache-incubating-servicecomb-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 642c0d89..9ebfb93b 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 'apache-incubating-servicecomb-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 3f8216b5..bf0f24d4 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 'apache-incubating-servicecomb-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 95d985e6..a62b2555 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
+apache-incubating-servicecomb-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 b5d4449e..7f174b18 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
+apache-incubating-servicecomb-service-center.exe
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services