mirror of
https://github.com/luzifer-docker/awscli.git
synced 2024-11-09 10:50:00 +00:00
Use "latest" as default branch
This commit is contained in:
parent
c34f906f72
commit
19379f8699
1 changed files with 4 additions and 4 deletions
8
build.sh
8
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue