| author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-05-13 15:11:49 (GMT) |
|---|---|---|
| committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-05-13 15:11:49 (GMT) |
| commit | 90057d108e6eb37b5cd6d8d54d11c925238b9978 (patch) (side-by-side diff) | |
| tree | a5f7998cedec716ed13ef5775578630140659f45 | |
| parent | 41cb7d86dcd08cc7c4332ddb41a61e4d96cfebed (diff) | |
| download | www-master.zip www-master.tar.gz | |
| -rwxr-xr-x | bin/new-release | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/new-release b/bin/new-release index 692bed8..713042b 100755 --- a/bin/new-release +++ b/bin/new-release @@ -214,12 +214,31 @@ echo "Press Enter to update NEWS with information from RELEASE" read $EDITOR $moduledir/NEWS $release +if test -d $moduledir/docs/plugins +then + echo "Updating plugin documentation files" + pushd $moduledir/docs/plugins > /dev/null 2>&1 + make update + make clean + make + popd +fi + echo "Rolling release tarballs" pushd $moduledir > /dev/null 2>&1 make release > /dev/null 2>&1 || exit 1 popd mv $moduledir/$module-$version.tar.* data/src/$module +if [ -d $moduledir/docs ]; then +echo "Updating docs on website" +pushd $moduledir/docs > /dev/null 2>&1 +make upload > /dev/null 2>&1 +popd +else +echo "Not updating docs on website - no docs directory" +fi + if test -d $moduledir/po then echo "Press Enter to commit updates to .po files (or enter 'no' to skip)" |
