Skip to content

Commit

Permalink
Add repository parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
JRubics committed Jul 25, 2020
1 parent 511444c commit d7d7a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ else
fi

poetry build
poetry config pypi-token.pypi $3
if [ -z $4 ] || [ -z $5 ]; then
poetry config pypi-token.pypi $3
poetry publish
else
poetry config repositories.$4 $5 pypi-token.pypi $3
poetry config repositories.$4 $5
poetry publish --repository $4
fi

0 comments on commit d7d7a00

Please sign in to comment.