diff --git a/.travis.yml b/.travis.yml index 76594fda..8b1f5ff6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,6 +66,8 @@ script: before_deploy: - export GEOPYSPARK_VERSION_SUFFIX="-${TRAVIS_COMMIT:0:7}" - aws s3 rm s3://geopyspark-dependency-jars/geotrellis-backend-assembly-0.3.0.jar + - aws s3 rm s3://geopyspark-dependency-jars/geopyspark-0.3.0-*.egg + - aws s3 rm s3://geopyspark-dependency-jars/geopyspark-0.3.0-*.whl deploy: - provider: script diff --git a/deploy.sh b/deploy.sh index 8182387e..94e9daa8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,6 +4,9 @@ set -e set -x aws s3 cp geopyspark/jars/geotrellis-backend-assembly-*.jar s3://geopyspark-dependency-jars/ \ + && python3 setup.py bdist_egg bdist_wheel \ + && aws s3 cp dist/geopyspark*.egg s3://geopyspark-dependency-jars/ \ + && aws s3 cp dist/geopyspark*.whl s3://geopyspark-dependency-jars/ \ && cd geopyspark-backend \ && ./sbt -Dbintray.user=$BINTRAY_USER -Dbintray.pass=$BINTRAY_PASS "project geotrellis-backend" publish \ && ./sbt -Dbintray.user=$BINTRAY_USER -Dbintray.pass=$BINTRAY_PASS "project vectorpipe" publish \