mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Modify appveyor to do git status before attempting commit
This commit is contained in:
parent
2bae55a261
commit
98fc3647e7
@ -140,6 +140,7 @@ on_success:
|
|||||||
- git checkout %APPVEYOR_REPO_BRANCH%
|
- git checkout %APPVEYOR_REPO_BRANCH%
|
||||||
- git add "asm/*"
|
- git add "asm/*"
|
||||||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
# - 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
|
deploy: off
|
||||||
|
Loading…
Reference in New Issue
Block a user