Corrects release management with build number in tags

This commit is contained in:
emile 2015-10-08 19:16:08 +02:00
parent f927c7dd0b
commit 0574cbd8bc

View file

@ -27,7 +27,7 @@ deployment:
hub: hub:
branch: master branch: master
commands: commands:
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace --prerelease v1.0 dist/ - ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease v1.0.alpha.$CIRCLE_BUILD_NUM dist/
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push ${REPO,,}:latest - docker push ${REPO,,}:latest
- docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1 - docker tag ${REPO,,}:latest ${REPO,,}:$CIRCLE_SHA1