Fix: yaml syntax
This commit is contained in:
parent
f82fbc2b8e
commit
a8550712fe
@ -11,15 +11,14 @@ steps:
|
||||
- name: build-and-publish
|
||||
image: python:3.11
|
||||
commands:
|
||||
- echo "Tag: ${TAG}"
|
||||
- sed -i "s/{{VERSION_PLACEHOLDER}}/${TAG}/g" pyproject.toml
|
||||
- echo "Tag: ${DRONE_TAG}"
|
||||
- sed -i "s/VERSION_PLACEHOLDER/${DRONE_TAG}/g" pyproject.toml
|
||||
- curl -sSL https://install.python-poetry.org | python3 -
|
||||
- export PATH="/root/.local/bin:$PATH"
|
||||
- poetry --version
|
||||
- poetry build
|
||||
- poetry publish --username __token__ --password $PYPI_TOKEN
|
||||
environment:
|
||||
TAG: ${DRONE_COMMIT_TAG}
|
||||
PYPI_TOKEN:
|
||||
from_secret: pypi_token
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pdf-oralia"
|
||||
version = "{{VERSION_PLACEHOLDER}}"
|
||||
version = "VERSION_PLACEHOLDER"
|
||||
description = ""
|
||||
authors = ["Bertrand Benjamin <benjamin.bertrand@opytex.org>"]
|
||||
readme = "README.md"
|
||||
|
Loading…
Reference in New Issue
Block a user