osx: add archive and upload script