Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(follow-up to #1373, only an issue for S3 bucket names with dots)
Releasing for macOS results in the following error:
=> So, for macOS releases the field
options.region
is not set automatically!At the same time, the windows release works (incl.
app-update.yml
being automatically populated with the bucket's region).A workaround for the mentioned error is to manually add
publish.region
to thepackage.json
.This pull request tries to introduce a fix - but I couldn't test it locally (see bottom of this post for error).
After implementing my path approach, I discovered the line:
electron-builder/packages/electron-builder/src/publish/PublishManager.ts
Line 63 in 94951fe
I imagine that the if condition becomes true in my macOS case which leads to the
options.region
not being generated and the error takes place. If I'm correct, reformulating this if condition would be a better and simpler bug fix.Appreciate some feedback.
"Appendix": Error when trying to test locally
Whenever I added my local
electron-builder
to my project (after runningnpm run compile
on the localelectron-builder
) and tried to build my local project for macOS, I ran into the following error:brew remove perl
like suggested in #815 did not fix this error for me.