Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Fixed issue with deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
p013570 committed Oct 9, 2017
1 parent 7168fd5 commit 1fbcf50
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cd/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

set -e

repoName="Gaffer Tools"
repoId="gaffer-tools"
artifactId="gaffer-tools"
repoName="Gaffer"
repoId="Gaffer"
artifactId="gaffer2"

if [ "$RELEASE" == 'true' ] && [ "$TRAVIS_BRANCH" == 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
git checkout master
mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version
POM_VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\['`
echo "POM_VERSION = $POM_VERSION"
if [[ "$POM_VERSION" == *SNAPSHOT ]]; then
Expand Down Expand Up @@ -88,7 +89,7 @@ if [ "$RELEASE" == 'true' ] && [ "$TRAVIS_BRANCH" == 'master' ] && [ "$TRAVIS_PU
echo "======================================"
echo ""

openssl aes-256-cbc -K $encrypted_a7bb8cbce01c_key -iv $encrypted_a7bb8cbce01c_iv -in cd/codesigning.asc.enc -out cd/codesigning.asc -d
openssl aes-256-cbc -K $encrypted_de949738249f_key -iv $encrypted_de949738249f_iv -in cd/codesigning.asc.enc -out cd/codesigning.asc -d
gpg --fast-import cd/codesigning.asc

if [ "$MODULES" == '' ]; then
Expand Down

0 comments on commit 1fbcf50

Please sign in to comment.