def livedeploy(inplace=None): """Deploy the project twice: once tagged with the git version, once on version 1. This supports our policy of keeping the live sites on version 1 while still having a record of the most recent git version that is deployed. Optional arguments: :inplace -- Deploy the project from its working directory, instead of making a clean checkout. """ deploy(git=True, inplace=inplace) # Reset the gae env to the "real" version as specified in app.yaml. This # will usually have the effect of deploying to version '1' env.gae.version = utils.parse_appcfg().version deploy(git=False, inplace=inplace)
def livedeploy(export=None): """Deploy the project twice: once tagged with the git version, once on version 1 (or whatever version is specified in app.yaml). This supports a policy of keeping the live sites on version 1 while still having a record of the most recent git version that is deployed. Optional arguments: :export -- Deploy the project from a clean checkout """ deploy(tag=True, export=export) # Reset the gae env to the "real" version as specified in app.yaml. This # will usually have the effect of deploying to version '1' env.gae.version = utils.parse_appcfg().version deploy(tag=False, export=export)