Skip to content

Commit

Permalink
fix pypi artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Apr 26, 2021
1 parent c4f2e44 commit 3e37991
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/deploy_pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ pip list
shopt -s nullglob
mkdir -p ocean_contracts/artifacts
touch ocean_contracts/__init__.py
cp ./artifacts/* ocean_contracts/artifacts/
mv ./artifacts/__init__.py __init__.cached
mv ./artifacts ocean_contracts/artifacts
abifiles=( ./ocean_contracts/artifacts/* )
[ "${#abifiles[@]}" -lt "1" ] && echo "ABI Files for development environment not found" && exit 1
python setup.py sdist bdist_wheel
twine upload dist/*
mv __init__.cached ./artifacts/__init__.py
twine upload dist/*

0 comments on commit 3e37991

Please sign in to comment.