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