From 98fc3647e7aca2feb512536bb4965b3a0a8ff4b9 Mon Sep 17 00:00:00 2001 From: Daniel Donenfeld Date: Mon, 11 Feb 2019 15:45:15 -0800 Subject: [PATCH] Modify appveyor to do git status before attempting commit --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index eb24964..4d0750d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -140,6 +140,7 @@ on_success: - git checkout %APPVEYOR_REPO_BRANCH% - git add "asm/*" # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) - - (git commit -m "[skip ci] Update ASM for %APPVEYOR_BUILD_WORKER_IMAGE%_%GSL_CXX_STANDARD%_%USE_TOOLSET%_%PLATFORM%_%CONFIGURATION%" && git push) || (git status & git diff & echo NO CHANGES TO COMMIT) + - git status + - (git commit -m "[skip ci] Update ASM for %APPVEYOR_BUILD_WORKER_IMAGE%_%GSL_CXX_STANDARD%_%USE_TOOLSET%_%PLATFORM%_%CONFIGURATION%" && git push) || (echo NO CHANGES TO COMMIT) deploy: off