mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Don't build deltas for test releases
This commit is contained in:
parent
4b307c843b
commit
bb042c8977
1 changed files with 7 additions and 1 deletions
|
@ -82,7 +82,13 @@ function packageWindows() {
|
|||
setupIcon: iconSource,
|
||||
loadingGif: splashScreenPath,
|
||||
exe: `${productName}.exe`,
|
||||
remoteReleases: distInfo.getUpdatesURL(),
|
||||
}
|
||||
|
||||
// Only production and beta channels include deltas. Test releases aren't
|
||||
// necessarily sequential so deltas wouldn't make sense.
|
||||
const ChannelsWithDeltas = ['production', 'beta']
|
||||
if (ChannelsWithDeltas.indexOf(distInfo.getReleaseChannel()) > -1) {
|
||||
options.remoteReleases = distInfo.getUpdatesURL()
|
||||
}
|
||||
|
||||
if (process.env.APPVEYOR) {
|
||||
|
|
Loading…
Reference in a new issue