Skip to content

Commit

Permalink
Update docker image and parcel out to constant variable. Add comment …
Browse files Browse the repository at this point in the history
…to update version constant
  • Loading branch information
jmadler committed Nov 28, 2020
1 parent f96a219 commit 45cf382
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# XXX: TODO: we should make this include -e once tests pass
set -xuo pipefail

docker build . -t jmadler/python-future-builder
docker push jmadler/python-future-builder:latest

DOCKER_IMAGE=jmadler/python-future-builder
# XXX: TODO: Perhaps this version shouldn't be hardcoded
version=0.18.2

docker build . -t $DOCKER_IMAGE
docker push $DOCKER_IMAGE:latest

for i in py26 py27 py33 py34 py35 py36 py37 py38 py39; do
docker run -ti -v $(realpath dist):/root/python-future/dist python-future-builder /root/python-future/setup.sh $version $(basename $i)
docker run -ti -v $(realpath dist):/root/python-future/dist $DOCKER_IMAGE /root/python-future/setup.sh $version $(basename $i)
done

python setup.py sdist
Expand Down

0 comments on commit 45cf382

Please sign in to comment.