blob: 7cf3c546b556fb4ffea83f03cd3ae8eed9427ad7 [file] [log] [blame]
sberline0359ad2010-10-31 20:39:41 +00001rm -rf build/docs
Christian Edward Gruber54565b22013-09-20 17:32:30 -07002CV=4.0
sberline0359ad2010-10-31 20:39:41 +00003
4# remove old api-diffs
Christian Edward Gruber54565b22013-09-20 17:32:30 -07005git rm -r latest-api-diffs/$CV
sberline0359ad2010-10-31 20:39:41 +00006
7# create new api-diffs
8ant jdiff
9cp -r build/docs/latest-api-diffs latest-api-diffs/$CV
10cp lib/build/jdiff/*.gif latest-api-diffs/$CV
11mv latest-api-diffs/$CV/$CV.xml latest-api-diffs
12
13# capture current javadoc snapshot
14ant javadoc
15cp -r build/docs/javadoc latest-api-diffs/$CV/javadoc
16
17# commit changes
Christian Edward Gruber54565b22013-09-20 17:32:30 -070018git add -A latest-api-diffs
Christian Edward Grubera78c4882014-03-20 20:39:02 -070019echo git commit -m "Added updated $CV api diffs." latest-api-diffs