-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove outdated RELEASES_REPOSITORY #1119
fix: remove outdated RELEASES_REPOSITORY #1119
Conversation
buildFlags = [ | ||
...buildFlags, | ||
'--config.generateUpdatesFilesForAllChannels=true', | ||
'--config.publish.provider=generic', | ||
`--config.publish.url=${process.env.RELEASES_REPOSITORY}`, | ||
'--config.publish.url=https://raw.githubusercontent.com/Jigsaw-Code/outline-releases/master/manager/', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jyyi1 with Git LFS this changes - what is the new URL?
buildFlags = [ | ||
...buildFlags, | ||
'--config.generateUpdatesFilesForAllChannels=true', | ||
'--config.publish.provider=generic', | ||
`--config.publish.url=${process.env.RELEASES_REPOSITORY}`, | ||
'--config.publish.provider=github', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has to be reverted to generic, since we are not using github releases: https://www.electron.build/configuration/publish.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems this was a copy paste error from the S3 code in the client - https://www.electron.build/configuration/publish.html provider should be github
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are specifying the URL. It should be generic. That's what we were using before: https://github.com/Jigsaw-Code/outline-server/blob/a19e0a0090ccd570697223b4f89ad62f82025a6d/src/server_manager/electron_app/release_windows_action.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah seems i didn't read enough. reverting.
buildFlags = [ | ||
...buildFlags, | ||
'--config.generateUpdatesFilesForAllChannels=true', | ||
'--config.publish.provider=generic', | ||
`--config.publish.url=${process.env.RELEASES_REPOSITORY}`, | ||
'--config.publish.provider=github', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are specifying the URL. It should be generic. That's what we were using before: https://github.com/Jigsaw-Code/outline-server/blob/a19e0a0090ccd570697223b4f89ad62f82025a6d/src/server_manager/electron_app/release_windows_action.sh
No description provided.