diff --git a/.drone.yml b/.drone.yml index ad65450..c0d9675 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ steps: image: python:3.11 commands: - echo ${DRONE_TAG} - - sed -i "s/VERSION_PLACEHOLDER/${DRONE_TAG}/g" pyproject.toml + - sed -i 's/version = "[^"]*"/version = "${DRONE_TAG}"/g' pyproject.toml - curl -sSL https://install.python-poetry.org | python3 - - export PATH="/root/.local/bin:$PATH" - poetry --version diff --git a/pyproject.toml b/pyproject.toml index 5a60b72..6135877 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pdf-oralia" -version = "1.dev" +version = "dev" description = "" authors = ["Bertrand Benjamin "] readme = "README.md"