From 488ebd6f132e8769b1ffaa24fd46b487e094c487 Mon Sep 17 00:00:00 2001 From: Daniel K Lyons <dlyons@nrao.edu> Date: Fri, 26 May 2023 16:47:12 -0600 Subject: [PATCH] Another try --- ci/pex-build.template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/pex-build.template.yml b/ci/pex-build.template.yml index a0e60d3d4..ee9e6cf55 100644 --- a/ci/pex-build.template.yml +++ b/ci/pex-build.template.yml @@ -3,7 +3,7 @@ image: python:3.10 script: - pip install build twine poetry pytest - - poetry build --with test ${PEX_PATH} + - cd ${PEX_PATH}; poetry build --with test ${PEX_PATH};cd - - pip install ${PEX_PATH} - NAME=$(awk -F' = ' '/^\[tool.poetry\]/ { project = 1; next } /^\[.*\]/ { project = 0 } project && $1 == "name" { gsub(/"/, "", $2); print $2 }' ${PEX_PATH}/pyproject.toml) - VERSION=$(sed -n 's/^__version__ = "\(.*\)\"$/\1/p' ${PEX_PATH}/*/__init__.py) -- GitLab