forked from github-release/github-release
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As described in issue github-release#26, for some types of uploads the GitHub API tends to be flaky and fail. The result is an inconsistent state (an asset in state new, which doesn't seem useful for anything). Try hard to get rid of these assets. This costs some more API calls, but I think people prefer correctness over speed. If that still doesn't cover all cases, the -R flag (for replacing assets) should now work better (also for assets that weren't correctly uploaded). This does not solve the issue where github-release apparently can't detect a hung connection. Although it _should_ fix an upload failing on a retry of this case. Updates github-release#26.
- Loading branch information
Showing
3 changed files
with
86 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters