Minimized the the release recreation race condition by writing the current sha to the comment section.
This commit is contained in:
1 parent
f53e6fbe33
commit
90d4b35741
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user