Skip to content

Commit

Permalink
A few small modifications to the mvn-deploy script:
Browse files Browse the repository at this point in the history
  - When running sonatype-oss-release, compile the code before running site:jar and deploy. For some reason, the new android artifact wasn't finding the necessary android support libraries dependencies in android/target/unpackaged_libs, unless `compile` was run.
  - Clone under the regular https URL, not the git@ user

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139921707
  • Loading branch information
ronshapiro committed Nov 22, 2016
1 parent 0fa440f commit 9faaf81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/mvn-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ fi

mvn "$@" -P '!examples' -P sonatype-oss-release \
-Dgpg.skip=false -Dgpg.keyname=${key} \
clean site:jar deploy
clean clean site:jar deploy

# Publish javadocs to gh-pages
mvn javadoc:aggregate -P!examples -DexcludePackageNames=*.internal
git clone --quiet --branch gh-pages \
https://git@github.com/google/dagger gh-pages > /dev/null
https://github.com/google/dagger gh-pages > /dev/null
cd gh-pages
cp -r ../target/site/apidocs api/$version_name
git add api/$version_name
Expand Down

0 comments on commit 9faaf81

Please sign in to comment.