electron-publish
Advanced tools
Comparing version 23.0.9 to 23.3.0
@@ -146,8 +146,8 @@ "use strict"; | ||
.catch(e => { | ||
if (this.doesErrorMeanAlreadyExists(e)) { | ||
return this.overwriteArtifact(fileName, release).then(() => this.doUploadFile(attemptNumber, parsedUrl, fileName, dataLength, requestProcessor, release)); | ||
} | ||
if (attemptNumber > 3) { | ||
return Promise.reject(e); | ||
} | ||
else if (this.doesErrorMeanAlreadyExists(e)) { | ||
return this.overwriteArtifact(fileName, release).then(() => this.doUploadFile(attemptNumber + 1, parsedUrl, fileName, dataLength, requestProcessor, release)); | ||
} | ||
else { | ||
@@ -154,0 +154,0 @@ return new Promise((resolve, reject) => { |
{ | ||
"name": "electron-publish", | ||
"version": "23.0.9", | ||
"version": "23.3.0", | ||
"main": "out/publisher.js", | ||
@@ -19,4 +19,4 @@ "author": "Vladimir Krivosheev", | ||
"@types/fs-extra": "^9.0.11", | ||
"builder-util": "23.0.9", | ||
"builder-util-runtime": "9.0.2", | ||
"builder-util": "23.3.0", | ||
"builder-util-runtime": "9.0.3", | ||
"chalk": "^4.1.1", | ||
@@ -30,4 +30,3 @@ "fs-extra": "^10.0.0", | ||
"@types/mime": "2.0.3" | ||
}, | ||
"readme": "# electron-publish\n\nPart of [electron-builder](https://github.com/electron-userland/electron-builder). \n\nSee the [Publishing Artifacts](https://www.electron.build/configuration/publish) for more information.\n\nCan be used standalone." | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74281
+ Addedbuilder-util@23.3.0(transitive)
+ Addedbuilder-util-runtime@9.0.3(transitive)
- Removedbuilder-util@23.0.9(transitive)
- Removedbuilder-util-runtime@9.0.2(transitive)
Updatedbuilder-util@23.3.0
Updatedbuilder-util-runtime@9.0.3