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;
|
Return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($result.assets.length <= 1){
|
if($result.body -contains $Env:APPVEYOR_REPO_COMMIT){
|
||||||
# The other build already recreated the release
|
# An other build already recreated the release
|
||||||
Write-Host "The other build already recreated the release"
|
Write-Host "An other build already recreated the release"
|
||||||
Return;
|
Return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -98,7 +98,7 @@ deploy:
|
|||||||
- provider: GitHub
|
- provider: GitHub
|
||||||
tag: $(APPVEYOR_REPO_TAG_NAME)
|
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
release: Latest Nightly build
|
release: Latest Nightly build
|
||||||
description:
|
description: $(APPVEYOR_REPO_COMMIT)
|
||||||
auth_token:
|
auth_token:
|
||||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
artifact: ReleaseZip
|
artifact: ReleaseZip
|
||||||
|
|||||||
Reference in new issue
Block a user