File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -330,8 +330,7 @@ jobs:
330330 run : pip3 install -r requirements.txt
331331 - name : Publish python packages
332332 env :
333- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
334- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
333+ POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_PASSWORD }}
335334 run : _tooling/publish.sh
336335 - name : Prepare github release
337336 run : |
Original file line number Diff line number Diff line change @@ -14,12 +14,8 @@ if ! python _tooling/check_version.py ${PKG_VERSION}; then
1414 exit 1
1515fi
1616
17- for PKG in * /pyproject.toml; do
17+ for PKG in {cluster_tools,webknossos} /pyproject.toml; do
1818 PKG=" $( dirname " $PKG " ) "
19- if [[ " $PKG " == " docs" || " $PKG " == " wkcuber" ]]; then
20- echo Skipping " $PKG "
21- continue
22- fi
2319 echo " Creating release for $PKG "
2420
2521 pushd " $PKG " > /dev/null
Original file line number Diff line number Diff line change 22set -eEuo pipefail
33set +x
44
5- for PKG in * /pyproject.toml; do
5+ for PKG in {cluster_tools,webknossos} /pyproject.toml; do
66 PKG=" $( dirname " $PKG " ) "
7- if [[ " $PKG " == " docs" || " $PKG " == " wkcuber" ]]; then
8- echo Skipping " $PKG "
9- continue
10- fi
117 echo Publishing " $PKG "
128
139 pushd " $PKG " > /dev/null
@@ -20,7 +16,7 @@ for PKG in */pyproject.toml; do
2016 poetry version " $PKG_VERSION "
2117 # replace all relative path dependencies with the current version:
2218 sed -i ' s/\(.*\) = .* path \= \"\.\..*/\1 = "' " $PKG_VERSION " ' "/g' pyproject.toml
23- poetry publish --build -u " $PYPI_USERNAME " -p " $PYPI_PASSWORD "
19+ poetry publish --build
2420
2521 # Restore files
2622 mv pyproject.toml.bak pyproject.toml
You can’t perform that action at this time.
0 commit comments