Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
commit javadocs on deploy only
  • Loading branch information
aikar committed May 22, 2018
1 parent bde85a7 commit 74ea8f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Expand Up @@ -53,7 +53,7 @@
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
Expand Down
4 changes: 3 additions & 1 deletion release.sh
Expand Up @@ -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

Expand Down

0 comments on commit 74ea8f9

Please sign in to comment.