Skip to content
Snippets Groups Projects
Unverified Commit d0c647e5 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Fix publish wheels job.

parent 8f3d86d4
No related branches found
No related tags found
No related merge requests found
...@@ -10,4 +10,5 @@ if "PEP517_BUILD_BACKEND" in os.environ: ...@@ -10,4 +10,5 @@ if "PEP517_BUILD_BACKEND" in os.environ:
if config_spec is not None: if config_spec is not None:
from .config import * # noqa: F403 from .config import * # noqa: F403
else: else:
print(os.environ)
from .config import * # noqa: F403 from .config import * # noqa: F403
...@@ -77,7 +77,7 @@ publish wheels: ...@@ -77,7 +77,7 @@ publish wheels:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
- when: never - when: never
script: script:
- pipx run build --sdist --outdir wheelhouse - PEP517_BUILD_BACKEND=1 pipx run build --sdist --outdir wheelhouse
- > - >
pipx run twine upload pipx run twine upload
${PYPI_REPO} ${PYPI_REPO}
...@@ -92,7 +92,7 @@ publish wheels to pypi (dev): ...@@ -92,7 +92,7 @@ publish wheels to pypi (dev):
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
when: manual when: manual
script: script:
- pipx run build --sdist --outdir wheelhouse - PEP517_BUILD_BACKEND=1 pipx run build --sdist --outdir wheelhouse
- > - >
pipx run twine upload --repository pypi pipx run twine upload --repository pypi
--username __token__ --password ${PYPI_TOKEN} --username __token__ --password ${PYPI_TOKEN}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment