Feat: improve version name for drone

This commit is contained in:
Bertrand Benjamin 2023-06-30 13:51:04 +02:00
parent 5692898137
commit 2761c3ed7b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pdf-oralia"
version = "1.dev"
version = "dev"
description = ""
authors = ["Bertrand Benjamin <benjamin.bertrand@opytex.org>"]
readme = "README.md"