Permalink
Browse files

commit javadocs on deploy only

  • Loading branch information...
aikar committed May 22, 2018
1 parent bde85a7 commit 74ea8f9e2853ae8a3159bec924b7a59f19befc4e
Showing with 4 additions and 2 deletions.
  1. +1 −1 core/pom.xml
  2. +3 −1 release.sh
View
@@ -53,7 +53,7 @@
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
View
@@ -14,8 +14,10 @@ files=(*/pom.xml pom.xml README.md CHANGELOG.md)
next="${a[0]}.${a[1]}.${a[2]}-SNAPSHOT"
./version.sh "$version"
mvn clean deploy || (echo "Something went wrong with compile, aborting" ; exit 1)
mvn -T 4 clean javadoc:jar deploy || (echo "Something went wrong with compile, aborting" ; exit 1)
git add -A docs
git commit -m "Javadocs $version" docs
git commit -m "Release $version" ${files[@]}
git tag -a -m "$version" $version

0 comments on commit 74ea8f9

Please sign in to comment.