Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #23 from amreo/master
Browse files Browse the repository at this point in the history
Use latest version of agents when building latests
  • Loading branch information
amreo authored Sep 9, 2019
2 parents c2bb724 + 8994a77 commit 55495c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ script:
- tar -C . -cvzf /tmp/ercole-agent-hpux-${VERSION}.tar.gz .

before_deploy:
- if [[ ${VERSION} == "latest" ]]; then git tag -f travis-${VERSION}-build; fi
- if [[ ${VERSION} == "latest" ]]; then git tag -f latest; fi
- if [[ ${VERSION} == "latest" ]]; then git remote add gh https://simonerota:${GITHUB_RELEASE_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git; fi
- if [[ ${VERSION} == "latest" ]]; then git push gh travis-${VERSION}-build || true; fi
- if [[ ${VERSION} == "latest" ]]; then git push -f gh travis-${VERSION}-build; fi
- if [[ ${VERSION} == "latest" ]]; then git push gh latest || true; fi
- if [[ ${VERSION} == "latest" ]]; then git push -f gh latest; fi
- if [[ ${VERSION} == "latest" ]]; then git remote remove gh; fi

deploy:
Expand Down

0 comments on commit 55495c8

Please sign in to comment.