sberlin | e0359ad | 2010-10-31 20:39:41 +0000 | [diff] [blame] | 1 | rm -rf build/docs |
Christian Edward Gruber | 54565b2 | 2013-09-20 17:32:30 -0700 | [diff] [blame] | 2 | CV=4.0 |
sberlin | e0359ad | 2010-10-31 20:39:41 +0000 | [diff] [blame] | 3 | |
| 4 | # remove old api-diffs |
Christian Edward Gruber | 54565b2 | 2013-09-20 17:32:30 -0700 | [diff] [blame] | 5 | git rm -r latest-api-diffs/$CV |
sberlin | e0359ad | 2010-10-31 20:39:41 +0000 | [diff] [blame] | 6 | |
| 7 | # create new api-diffs |
| 8 | ant jdiff |
| 9 | cp -r build/docs/latest-api-diffs latest-api-diffs/$CV |
| 10 | cp lib/build/jdiff/*.gif latest-api-diffs/$CV |
| 11 | mv latest-api-diffs/$CV/$CV.xml latest-api-diffs |
| 12 | |
| 13 | # capture current javadoc snapshot |
| 14 | ant javadoc |
| 15 | cp -r build/docs/javadoc latest-api-diffs/$CV/javadoc |
| 16 | |
| 17 | # commit changes |
Christian Edward Gruber | 54565b2 | 2013-09-20 17:32:30 -0700 | [diff] [blame] | 18 | git add -A latest-api-diffs |
Christian Edward Gruber | a78c488 | 2014-03-20 20:39:02 -0700 | [diff] [blame] | 19 | echo git commit -m "Added updated $CV api diffs." latest-api-diffs |