|
1 | | ---- publish-build-task.coffee.orig 2016-02-11 08:45:44.000000000 -0800 |
2 | | -+++ publish-build-task.coffee 2016-02-11 09:24:43.000000000 -0800 |
3 | | -@@ -73,13 +73,11 @@ |
| 1 | +--- publish-build-task.coffee.orig 2017-02-02 17:49:50.000000000 +0000 |
| 2 | ++++ publish-build-task.coffee 2017-02-02 17:59:25.000000000 +0000 |
| 3 | +@@ -68,13 +68,11 @@ |
4 | 4 | switch process.platform |
5 | 5 | when 'darwin' |
6 | 6 | [ |
|
11 | 11 | ] |
12 | 12 | when 'win32' |
13 | 13 | - assets = [{assetName: 'atom-windows.zip', sourcePath: appName}] |
14 | | -- for squirrelAsset in ['AtomSetup.exe', 'RELEASES', "atom-#{version}-full.nupkg", "atom-#{version}-delta.nupkg"] |
15 | | -+ assets = [{assetName: "particle-dev-windows-#{version}.zip", sourcePath: 'ParticleDev'}] |
16 | | -+ for squirrelAsset in ['ParticleDevSetup.exe', 'RELEASES', "particledev-#{version}-full.nupkg", "particledev-#{version}-delta.nupkg"] |
| 14 | +- for squirrelAsset in ['AtomSetup.exe', 'AtomSetup.msi', 'RELEASES', "atom-#{version}-full.nupkg", "atom-#{version}-delta.nupkg"] |
| 15 | ++ assets = [{assetName: "particle-dev-windows-#{version}", sourcePath: 'ParticleDev'}] |
| 16 | ++ for squirrelAsset in ['ParticleDevSetup.exe', 'ParticleDevSetup.msi', 'RELEASES', "particledev-#{version}-full.nupkg", "particledev-#{version}-delta.nupkg"] |
17 | 17 | cp path.join(buildDir, 'installer', squirrelAsset), path.join(buildDir, squirrelAsset) |
18 | 18 | assets.push({assetName: squirrelAsset, sourcePath: assetName}) |
19 | 19 | assets |
20 | | -@@ -101,7 +99,7 @@ |
| 20 | +@@ -96,7 +94,7 @@ |
21 | 21 | arch = 'i386' |
22 | 22 | else |
23 | 23 | arch = 'x86_64' |
24 | 24 | - assetName = "atom.#{arch}.rpm" |
25 | 25 | + assetName = "particle-dev.#{arch}.rpm" |
26 | 26 |
|
27 | 27 | cp sourcePath, path.join(buildDir, assetName) |
28 | | - |
29 | | -@@ -132,10 +130,10 @@ |
| 28 | + assets = [{assetName, sourcePath}] |
| 29 | +@@ -134,10 +132,10 @@ |
30 | 30 | async.parallel(tasks, callback) |
31 | 31 |
|
32 | 32 | getAtomDraftRelease = (isPrerelease, branchName, callback) -> |
|
39 | 39 | callback(error) |
40 | 40 | else |
41 | 41 | [firstDraft] = releases.filter ({draft}) -> draft |
42 | | -@@ -158,7 +156,7 @@ |
| 42 | +@@ -160,7 +158,7 @@ |
43 | 43 | createAtomDraftRelease = (isPrerelease, branchName, callback) -> |
44 | 44 | {version} = require('../../package.json') |
45 | 45 | options = |
|
48 | 48 | method: 'POST' |
49 | 49 | headers: defaultHeaders |
50 | 50 | json: |
51 | | -@@ -175,7 +173,7 @@ |
| 51 | +@@ -177,7 +175,7 @@ |
52 | 52 |
|
53 | 53 | request options, (error, response, body='') -> |
54 | 54 | if error? or response.statusCode isnt 201 |
|
0 commit comments