hfcamilo
9/4/2017 - 7:20 PM

gerar_arquivos_deploy.md

git pull origin develop && git checkout qa && git pull origin qa && git merge develop && git push origin qa && git checkout stage && git pull origin stage && git merge qa && git push origin stage && git checkout master && git pull origin master && git merge stage && git push origin master && git checkout develop && git merge master && git push origin develop

Comandos para gerar arquivo compactado com diferença entre dois comiits

APP

git archive -o app.zip 80d6a8886cdad69fb432c76916247328c97fafa3 $(git diff --name-only --diff-filter=d a2773e2834d 80d6a8886cdad69fb432c76916247328c97fafa3)

LIB

git archive -o lib.zip 9c36ad1605eb0058989aac6d849ce448365c80cd $(git diff --name-only --diff-filter=d dc3e93dc336 9c36ad1605eb0058989aac6d849ce448365c80cd)

80d6a8886cdad69fb432c76916247328c97fafa3 - commit mais recente

a2773e2834d - commit mais antigo