From 2761c3ed7b4b142f6d63f1b3513d04e52ddaf9e2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 30 Jun 2023 13:51:04 +0200 Subject: [PATCH] Feat: improve version name for drone --- .drone.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"