From 1b7ab06420945f5e0cd848f504f3cdc6d12d6c64 Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Tue, 23 Jan 2024 21:28:04 +0100 Subject: [PATCH] chore(release): 0.0.18 --- README.md | 2 +- action.yaml | 2 +- dctl/commands/new.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f231069..96e06f8 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ steps: uses: actions/checkout@v3 - name: Setup dctl CLI - uses: doseiai/dctl@0.0.17 + uses: doseiai/dctl@0.0.18 with: token: ${{ secrets.DOSEI_TOKEN }} ``` diff --git a/action.yaml b/action.yaml index 1b420f7..c9e9dff 100644 --- a/action.yaml +++ b/action.yaml @@ -17,7 +17,7 @@ runs: - uses: actions/setup-python@v4 with: python-version: '3.11' - - run: python3 -m pip install dctl==0.0.17 + - run: python3 -m pip install dctl==0.0.18 shell: bash - run: echo "DOSEI_TOKEN=${{ inputs.token }}" >> $GITHUB_ENV if: ${{ inputs.token }} diff --git a/dctl/commands/new.py b/dctl/commands/new.py index c95b54b..f94d1ee 100644 --- a/dctl/commands/new.py +++ b/dctl/commands/new.py @@ -31,7 +31,7 @@ class TemplateType(Enum): def new(template, name): """New project""" headers = {**get_auth_header()} - url = f"{config.api_base_url}/projects/test/clone" + url = f"{config.api_base_url}/projects/clone" response = requests.post(url, headers=headers, json={ "name": name, **TemplateType[template.upper()].value.model_dump() diff --git a/pyproject.toml b/pyproject.toml index 280127f..f7eb538 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dctl" -version = "0.0.17" +version = "0.0.18" description = "Command Line Interface (CLI) for Dosei" authors = ["Alvaro Molina "] license = "Apache-2.0"