def main(): """ Perform the steps required to build and deploy, but not release, a new version of Telepresence. """ if DIST.exists(): rmtree(str(DIST)) DIST.mkdir(parents=True) version = get_version() emit_release_info(version) emit_announcement(version) emit_machinery() package_linux.main(version)
def main(): """ Perform the steps required to build and deploy, but not release, a new version of Telepresence. """ if DIST.exists(): rmtree(str(DIST)) DIST.mkdir(parents=True) version = get_version() release = "-" not in version # Is this a release version? if not release: # FIXME: Non-release versions should still yield... something. print("Version {} is not a release version".format(version)) return emit_release_info(version) emit_announcement(version) emit_machinery() package_linux.main(version)
def main(): """ Perform the steps required to build and deploy, but not release, a new version of Telepresence. """ if DIST.exists(): rmtree(str(DIST)) DIST.mkdir(parents=True) version = get_version() release = "-" not in version # Is this a release version? build_executables() make_archive(version) emit_release_info(version) package_linux.main(version) if not release: print("Version {} is not a release version".format(version)) return emit_announcement(version) emit_machinery()