Skip to content

Commit

Permalink
Merge branch 'release/0.17.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
pozgo committed Feb 12, 2018
2 parents bfb8e0e + 6820220 commit 888ce26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
- stage: deploy
if: branch = master
script:
- export RELEASE=$(grep "MKDOCS_VERSION=" Dockerfile | sed 's|^.*=||g' |awk '{print $1}' | sed 's|"||g')
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker pull polinux/mkdocs:staging
- docker tag polinux/mkdocs:staging polinux/mkdocs:latest
- docker tag polinux/mkdocs:staging polinux/mkdocs:${RELEASE}
- docker push polinux/mkdocs:${RELEASE}
- export RELEASE=$(grep "MKDOCS_VERSION=" Dockerfile | sed 's|^.*=||g' |awk '{print $1}' | sed 's|"||g'); docker tag polinux/mkdocs:staging polinux/mkdocs:${RELEASE}
- export RELEASE=$(grep "MKDOCS_VERSION=" Dockerfile | sed 's|^.*=||g' |awk '{print $1}' | sed 's|"||g'); docker push polinux/mkdocs:${RELEASE}
- docker push polinux/mkdocs:latest

0 comments on commit 888ce26

Please sign in to comment.