Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Travis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
InfoSec812 committed Jun 7, 2016
1 parent e927d29 commit bc9913d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cache:
before_deploy:
- export VERSION=$(cat pom.xml | grep -A 1 "sonar-auth-googleoauth-plugin" | grep
version | sed 's@^[^>]*>\([^<]*\)<.*@\1@g')
- git push --tags
- export RELEASE_JAR=$(ls target/sonar-auth-googleoauth-plugin-${VERSION}.jar)
- echo "Deploying ${RELEASE_JAR} to GitHub"
deploy:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.sonarqube.auth.google</groupId>
<artifactId>sonar-auth-googleoauth-plugin</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.3-SNAPSHOT</version>
<packaging>sonar-plugin</packaging>
<name>Google Authentication for SonarQube</name>
<description>Google Authentication for SonarQube</description>
Expand Down
4 changes: 2 additions & 2 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

if ["$TRAVIS_PULL_REQUEST" != "false"]; then
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Setting Maven release values"
mvn versions:set -DnewVersion=$(git tag | tail -n 1)
fi
Expand Down Expand Up @@ -58,4 +58,4 @@ fi
if ["$TRAVIS_PULL_REQUEST" != "false"]; then
echo "Generating release notes from git history"
git show -s --pretty=format:"%h - %<|(35)%an%s" $(git rev-list --tags --max-count=1)...$(git show | grep "^commit" | awk '{print $2}') | tee target/RELEASE_NOTES
fi
fi

0 comments on commit bc9913d

Please sign in to comment.