Minimized the the release recreation race condition by writing the current sha to the comment section.

This commit is contained in:
lukeIam committed 2017-08-14 17:38:01 +02:00
1 parent f53e6fbe33
commit 90d4b35741
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -35,9 +35,9 @@ if(!$releaseId){
Return;
}
if($result.assets.length <= 1){
# The other build already recreated the release
Write-Host "The other build already recreated the release"
if($result.body -contains $Env:APPVEYOR_REPO_COMMIT){
# An other build already recreated the release
Write-Host "An other build already recreated the release"
Return;
}
+1 -1
View File
@@ -98,7 +98,7 @@ deploy:
- provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
release: Latest Nightly build
description:
description: $(APPVEYOR_REPO_COMMIT)
auth_token:
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
artifact: ReleaseZip