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 2019/03/01 12:25:22 UTC
[servicecomb-pack] branch master updated: Removed the gpg keys as
we do the release by hand
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
The following commit(s) were added to refs/heads/master by this push:
new 450685b Removed the gpg keys as we do the release by hand
450685b is described below
commit 450685bbe890aa640c1af1fb3cf9b9ae29a5f0a2
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Fri Mar 1 20:24:59 2019 +0800
Removed the gpg keys as we do the release by hand
---
gpg-sec.tar.enc | Bin 10256 -> 0 bytes
scripts/deploy.sh | 25 +------------------------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/gpg-sec.tar.enc b/gpg-sec.tar.enc
deleted file mode 100644
index a0b26c9..0000000
Binary files a/gpg-sec.tar.enc and /dev/null differ
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index a2d538a..a7680ec 100644
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -17,29 +17,7 @@
## ---------------------------------------------------------------------------
#bin/sh
-##Check if the commit is tagged commit or not
-TAGGEDCOMMIT=$(git tag -l --contains HEAD)
-if [ "$TAGGEDCOMMIT" == "" ]; then
- TAGGEDCOMMIT=false
-else
- TAGGEDCOMMIT=true
-fi
-echo $TAGGEDCOMMIT
-
-if [ "$TAGGEDCOMMIT" == "true" ]; then
- echo "Decrypting the key"
- openssl aes-256-cbc -K $encrypted_03bd1399b9b3_key -iv $encrypted_03bd1399b9b3_iv -in gpg-sec.tar.enc -out .github/gpg-sec.tar -d
- tar xvf gpg-sec.tar
- echo "Deploying Staging Release"
- mvn deploy -DskipTests --settings .travis.settings.xml -Ppassphrase -Prelease
- if [ $? == 0 ]; then
- echo "${green}Staging Deployment is Success, please log on to Nexus Repo to see the staging release..${reset}"
- else
- echo "${red}Staging Release deployment failed.${reset}"
- exit 1
- fi
-else
- echo "Deploy a Non-Signed Staging Release"
+echo "Deploy a Non-Signed Staging Release"
mvn deploy -Ddocker.skip -DskipTests --settings .travis.settings.xml
if [ $? == 0 ]; then
echo "${green}Snapshot Deployment is Success, please log on to Nexus Repo to see the snapshot release..${reset}"
@@ -47,5 +25,4 @@ else
echo "${red}Snapshot deployment failed.${reset}"
# No need to exit 1 here as the snapshot depoyment will fail for private builds as decryption of password is allowed for ServiceComb repo and not forked repo's.
fi
-fi
echo "Deployment Completed"