From eead27ea4cf1fa80086cbfe7bda60d579902a164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 1 Nov 2016 18:24:18 +0100 Subject: [PATCH] Do not fail on lack of secret git keys --- windows/build_insider.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/windows/build_insider.sh b/windows/build_insider.sh index 6a6fc74c..b38ee69b 100644 --- a/windows/build_insider.sh +++ b/windows/build_insider.sh @@ -10,10 +10,17 @@ if [[ ! -d $DOTFILES_PATH ]]; then fi cd "$DOTFILES_PATH" -git remote set-url origin git@github.com:cyplo/dotfiles.git git checkout $branch + +git remote set-url origin https://github.com/cyplo/dotfiles.git git pull +git remote set-url origin git@github.com:cyplo/dotfiles.git +# might fail on CI where there are no secret keys +set +e +git pull +set -e + export NOSUDO=true export DONT_CHANGE_SHELL=true export NORUST=true