Skip to content

Commit

Permalink
Updated release script to log mvn output to files for later review if…
Browse files Browse the repository at this point in the history
… necessary
  • Loading branch information
jewzaam committed Jan 4, 2016
1 parent ed1e7dd commit 69ce69e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ mvn release:prepare -P release \
-DpushChanges=false \
-DreleaseVersion=$RELEASE_VERSION \
-DdevelopmentVersion=$DEVEL_VERSION \
-Dtag=V${RELEASE_VERSION} || exit
-Dtag=V${RELEASE_VERSION} | tee prepare.log || exit

# push prepared changes (doing separate just to have control)
git push origin master --tags

# perform release
mvn release:perform -P release || exit
mvn release:perform -P release | tee release.log || exit

# update to latest lightblue snapshot dependencies
mvn versions:use-latest-snapshots versions:update-properties -Dincludes=*lightblue* -DallowSnapshots=true
git commit -m "Updated to latest snapshot dependencies"
git push origin master

# deploy updated snapshots
mvn clean deploy
mvn clean deploy | tee deploy.log

0 comments on commit 69ce69e

Please sign in to comment.