mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
added repo-name option to release command
This commit is contained in:
parent
4a60de9268
commit
08e65f7881
@ -121,8 +121,9 @@ def backup_all_sites():
|
|||||||
@click.option('--develop', default='develop')
|
@click.option('--develop', default='develop')
|
||||||
@click.option('--master', default='master')
|
@click.option('--master', default='master')
|
||||||
@click.option('--owner', default='frappe')
|
@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)"
|
"Release app (internal to the Frappe team)"
|
||||||
from bench.release import release
|
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)
|
release(repo, bump_type, develop, master, owner)
|
||||||
|
Loading…
Reference in New Issue
Block a user