Change appveyor to use different command to determine if commit is necessary

This commit is contained in:
Daniel Donenfeld 2019-02-11 16:08:36 -08:00
parent f559ff41f4
commit dc8116ef7d

View File

@ -141,6 +141,8 @@ on_success:
- git add "asm/*"
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- 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)
- git diff-index --cached --quiet --exit-code HEAD || (git commit -m "[skip ci] Update ASM for %APPVEYOR_BUILD_WORKER_IMAGE%_%GSL_CXX_STANDARD%_%USE_TOOLSET%_%PLATFORM%_%CONFIGURATION%" && git push)
deploy: off