From 08e65f7881734fe0844c5af6f115e84eb4e2c449 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Tue, 17 May 2016 14:41:52 +0530 Subject: [PATCH] added repo-name option to release command --- bench/commands/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bench/commands/utils.py b/bench/commands/utils.py index 075b55f1..8d1d6687 100644 --- a/bench/commands/utils.py +++ b/bench/commands/utils.py @@ -121,8 +121,9 @@ def backup_all_sites(): @click.option('--develop', default='develop') @click.option('--master', default='master') @click.option('--owner', default='frappe') -def release(app, bump_type, develop, master, owner): +@click.option('--repo-name') +def release(app, bump_type, develop, master, owner, repo_name): "Release app (internal to the Frappe team)" from bench.release import release - repo = os.path.join('apps', app) + repo = os.path.join('apps', repo_name) if repo_name else os.path.join('apps', app) release(repo, bump_type, develop, master, owner)