Use "latest" as default branch

This commit is contained in:
Knut Ahlers 2016-08-09 17:39:16 +02:00
parent c34f906f72
commit 19379f8699
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -4,9 +4,9 @@ HOST_OS=$(uname -s)
### ---- ###
echo "Switch back to master"
git checkout master
git reset --hard origin/master
echo "Switch back to latest"
git checkout latest
git reset --hard origin/latest
### ---- ###
@ -57,4 +57,4 @@ git -c user.name='travis' -c user.email='travis' \
git tag ${AWSCLI_VERSION}
git tag -f latest
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/luzifer-docker/awscli master --tags
git push -q https://${GH_USER}:${GH_TOKEN}@github.com/luzifer-docker/awscli latest --tags