Skip to content

Commit

Permalink
Merge branch 'dev' into fix/publish-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Jul 30, 2024
2 parents bab5e33 + fbe2c53 commit 2586445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions backend/df_designer/app/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import sys
from pathlib import Path

import toml
import nest_asyncio
import typer
from cookiecutter.main import cookiecutter
Expand Down Expand Up @@ -102,14 +101,13 @@ def run_app(
@cli.command("init")
def init(destination: str = settings.work_directory, no_input: bool = False, overwrite_if_exists: bool = True):
original_dir = os.getcwd()
pyproject = toml.load(settings.pyproject_path)
try:
os.chdir(destination)
cookiecutter(
"https://github.com/Ramimashkouk/df_d_template.git",
no_input=no_input,
overwrite_if_exists=overwrite_if_exists,
extra_context={"dflowd_version": pyproject["tool"]["poetry"]["version"]},
extra_context={"dflowd_version": "0.1.0b3"},
)
finally:
os.chdir(original_dir)
2 changes: 1 addition & 1 deletion backend/df_designer/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dflowd"
version = "0.1.0b2"
version = "0.1.0b3"
description = "Dialog Flow Designer"
license = "Apache-2.0"
authors = [
Expand Down

0 comments on commit 2586445

Please sign in to comment.