move post-build ops from nightly.sh to tools/postbuild/Makefile