mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
fix cli import error (for older bench)
This commit is contained in:
parent
d631cc4997
commit
1ea7102ca6
@ -16,7 +16,6 @@ from .app import get_app as _get_app
|
|||||||
from .app import new_app as _new_app
|
from .app import new_app as _new_app
|
||||||
from .app import pull_all_apps
|
from .app import pull_all_apps
|
||||||
from .config import generate_nginx_config, generate_supervisor_config
|
from .config import generate_nginx_config, generate_supervisor_config
|
||||||
from .release import release
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
@ -180,6 +179,7 @@ def _prime_wheel_cache():
|
|||||||
@click.argument('bump-type', type=click.Choice(['major', 'minor', 'patch']))
|
@click.argument('bump-type', type=click.Choice(['major', 'minor', 'patch']))
|
||||||
def _release(app, bump_type):
|
def _release(app, bump_type):
|
||||||
"Release app (internal to the Frappe team)"
|
"Release app (internal to the Frappe team)"
|
||||||
|
from .release import release
|
||||||
repo = os.path.join('apps', app)
|
repo = os.path.join('apps', app)
|
||||||
release(repo, bump_type)
|
release(repo, bump_type)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user