Skip to content

Commit

Permalink
Only commit when there are some javadoc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslav Tulach committed Sep 3, 2018
1 parent 645bde4 commit c717d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci_includes/publish-javadoc.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ builds += [
["git", "add", "sdk/javadoc", "truffle/javadoc", "tools/javadoc", "graphio/javadoc"],
["git", "config", "user.name", "Javadoc Publisher"],
["git", "config", "user.email", "[email protected]"],
["git", "commit", "-m", [ "echo", "Javadoc as of", [ "date", "+%Y/%m/%d" ] ] ],
["git", "diff", "--staged", "--quiet", "||", "git", "commit", "-m", [ "echo", "Javadoc as of", [ "date", "+%Y/%m/%d" ] ] ],
["git", "push", "origin", "gh-pages"],
],
targets : [post-merge],
Expand Down

0 comments on commit c717d7f

Please sign in to comment.