Jelajahi Sumber

Move to travis git global

Kevin van Zonneveld 9 tahun lalu
induk
melakukan
03c9fd36b3
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 0
      bin/travis-deploy
  2. 0 3
      bin/web-deploy

+ 3 - 0
bin/travis-deploy

@@ -4,5 +4,8 @@ set -o errexit
 set -o nounset
 # set -o xtrace
 
+git config --global user.name 'Uppy Bot'
+git config --global user.email 'uppybot@uppy.io'
+
 # because a Travis deploy script has to be a real file
 npm run web:deploy --quiet

+ 0 - 3
bin/web-deploy

@@ -9,9 +9,6 @@ __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 __file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
 __base="$(basename ${__file} .sh)"
 
-git config user.name 'Uppy Bot'
-git config user.email 'uppybot@uppy.io'
-
 ghpages_repo=${GHPAGES_REPO:-"transloadit/uppy"}
 ghpages_branch=${GHPAGES_BRANCH:-"gh-pages"}
 ghpages_url=${GHPAGES_URL:-"git@github.com:${ghpages_repo}.git"}