Skip to content

Commit

Permalink
read version from module
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed Sep 22, 2015
1 parent cada1da commit a7cd09f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ deploy:
after_deploy:
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "Start Docker Hub Push"
docker build . -t developmentseed/landsat-util:0.7.0
VER=$(python -c "import landsat; print landsat.__version__")
docker build . -t developmentseed/landsat-util:$VER
docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
docker push developmentseed/landsat-util:0.7.0
docker push developmentseed/landsat-util:$VER
fi

0 comments on commit a7cd09f

Please sign in to comment.