Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Silence output on push
Browse files Browse the repository at this point in the history
Send stdout and stderr output to dev null so it does not appear in CI logs. If
git push errors over https the output includes the GH auth token.
  • Loading branch information
tomnatt committed Mar 29, 2017
1 parent 1e6b61e commit 3756096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis_scripts/push_release_tag.sh
Expand Up @@ -88,10 +88,10 @@ function make_release_tag_from_travis_build_number {

git checkout ${TRAVIS_COMMIT}
git tag "${RELEASE_BRANCH_NAME}_${TRAVIS_BUILD_NUMBER}"
git push origin --tags --quiet
git push origin --tags --quiet > /dev/null 2>&1

git tag --force "${RELEASE_BRANCH_NAME}"
git push --force origin --tags --quiet
git push --force origin --tags --quiet > /dev/null 2>&1

popd
}
Expand Down

0 comments on commit 3756096

Please sign in to comment.