Nathan Sobo
95ab4ab754
Merge pull request #12572 from ablakely/patch-1
...
Update create-debian-package.js
2016-09-01 07:21:02 -06:00
Antonio Scandurra
8249dbbb79
Fix release channel detection on Travis
...
In the previous build scripts, we were considering all the builds
triggered by a pull-request to be part of the dev channel. We adopted
the same heuristic for the new build scripts, but didn't notice that
Travis always sets the `TRAVIS_PULL_REQUEST` variable to "false" (which
causes the `process.env.TRAVIS_PULL_REQUEST` expression to be evaluated
as truthy).
In the past, this wasn't a problem because we were building artifacts
via Janky, but after switching to Travis this makes it generate the
wrong assets on stable and beta.
To fix this, it seems reasonable to remove the conditional that checks
if we are building a pull-request: in the past this could have been
problematic because assets could be uploaded inadvertently to S3 or
GitHub, but this should be safe now that we rely on the release
publisher to perform that task.
2016-09-01 09:49:37 +02:00
Aaron Blakely
b54952d6e7
Update create-debian-package.js
...
Added support for building debian powerpc packages.
2016-08-31 16:46:05 -05:00
Antonio Scandurra
ab0a7f8b61
Fix outdated code in script/clean
2016-08-30 12:33:37 +02:00
Antonio Scandurra
5b85e1c797
Allow script/build --install on all platforms
2016-08-30 12:21:55 +02:00
Antonio Scandurra
de3fca49a8
Run script/bootstrap immediately after running script/build
...
This will ensure all the dependencies used later in `script/build` are
installed.
2016-08-30 11:49:52 +02:00
Nathan Sobo
c1c4067179
Run script/bootstrap from script/build
2016-08-29 15:33:34 -06:00
Antonio Scandurra
14611926ac
Ensure script/bootstrap works after cleaning dependencies up
2016-08-29 13:40:17 +02:00
Antonio Scandurra
b6de97f52f
🎨
2016-08-29 11:42:21 +02:00
Antonio Scandurra
4a940592e6
Include error stack when logging unhandled rejections
2016-08-29 10:38:23 +02:00
Antonio Scandurra
870b3c832e
Add script/lint
2016-08-29 10:37:12 +02:00
Nathan Sobo
f3d05f9adc
Add temporary no-op cibuild to avoid failure on Janky
2016-08-25 08:23:46 -06:00
Nathan Sobo
7d5c8eff55
Delete downloaded nupkg for previous version after creating windows installer
2016-08-25 07:55:04 -06:00
Antonio Scandurra
061ae3786a
Remove custom copySync function
...
Originally we introduced this function because we thought empty
directories were causing path length issues on Windows, but it turns out
that it was a problem with Squirrel, so we can delete this code path
altogether.
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-16 18:08:16 +02:00
Antonio Scandurra
6439812bf6
Try replacing dashes with dots
2016-08-16 14:55:24 +02:00
Antonio Scandurra
0189616e12
Use x.y.z~dev.sha
as the appVersion on rpm packages
2016-08-16 14:34:16 +02:00
Antonio Scandurra
552c02f60f
Copy generated packages into buildOutputPath
2016-08-16 13:14:27 +02:00
Antonio Scandurra
03045ff2ec
Delete ~/rpmbuild entirely before creating a rpm package
2016-08-16 13:02:06 +02:00
Antonio Scandurra
266db1669e
Don't stringify stdout/stderr when they don't exist
2016-08-16 12:54:04 +02:00
Antonio Scandurra
8e1972d804
Unlock keychains using the correct format
2016-08-16 12:53:33 +02:00
Antonio Scandurra
6afcc7e96b
Convert package.json version dashes into tildes for rpm packages
2016-08-16 12:49:34 +02:00
Antonio Scandurra
e3e85e4780
Put back mistakenly deleted requires
2016-08-16 12:46:37 +02:00
Antonio Scandurra
62d5af52ae
Use execSync
when changing permissions via the find
command
...
This will prevent the arguments supplied to `-exec` from being escaped
incorrectly by `spawnSync`.
2016-08-16 12:43:49 +02:00
Antonio Scandurra
d7f7f3527e
Extract a spawnSync helper that throws on command errors
2016-08-16 12:29:42 +02:00
Antonio Scandurra
afb57711d0
🎨
2016-08-16 12:00:20 +02:00
Antonio Scandurra
8dddbab344
Recreate symlinks when calling copySync
2016-08-16 11:24:17 +02:00
Nathan Sobo
c9de91dc09
Rename create-installer option to create-windows-installer to match help
...
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-15 08:05:57 -06:00
Antonio Scandurra
91732ce753
🎨
2016-08-15 16:00:44 +02:00
Antonio Scandurra
08dcb39f87
Start on RPM package creation
2016-08-15 16:00:33 +02:00
Antonio Scandurra
d97edcb8aa
📝
2016-08-15 14:41:49 +02:00
Antonio Scandurra
0925dd065a
🎨
2016-08-15 13:18:15 +02:00
Antonio Scandurra
b8e8d17b0b
Use the correct size for the generated package
2016-08-15 12:26:23 +02:00
Antonio Scandurra
2883970886
Delete previously created debian artifacts if necessary
2016-08-15 12:21:48 +02:00
Antonio Scandurra
781228e06e
Use the share dir path when copying icons, docs and lintian overrides
2016-08-15 12:19:02 +02:00
Antonio Scandurra
ffde9b49cf
Always name Debian package "atom-amd64.deb"
2016-08-15 12:09:06 +02:00
Antonio Scandurra
fc95475d6e
Change permissions to node files on Linux
2016-08-15 12:06:03 +02:00
Antonio Scandurra
9e0d7638e4
Create Debian package
2016-08-15 12:05:50 +02:00
Antonio Scandurra
4d3a982400
Ensure downloading the appropriate chromedriver for the bundled Electron
2016-08-15 10:18:45 +02:00
Antonio Scandurra
052ce394fe
🔥
2016-08-13 12:56:42 +02:00
Antonio Scandurra
5fc2405801
Compile CSON, Babel and Coffeescript files using CompileCache
2016-08-13 12:49:46 +02:00
Antonio Scandurra
df6e0aca1b
Create folder if it doesn't exist when downloading files
2016-08-13 12:01:23 +02:00
Damien Guard
ad809a8d00
Wording clarifications for build options
2016-08-12 12:04:51 -06:00
Damien Guard
5a69d0bf4a
Remove skip-rebuild option
2016-08-12 12:04:45 -06:00
Damien Guard
89152fbf58
Add help, don't build winstaller by default, add skip
2016-08-12 12:04:35 -06:00
Antonio Scandurra
d735f59b75
Try running tests serially
2016-08-11 13:50:02 +02:00
Antonio Scandurra
6bd9d1e4be
Install webdriver io in script/package.json
...
So that we can control chromedriver without including that dependency in the final bundle.
2016-08-11 13:09:24 +02:00
Antonio Scandurra
ff9fb6edce
Download Chromedriver during script/build
...
...so that we can cache it.
2016-08-11 12:56:15 +02:00
Antonio Scandurra
6f9a8208db
Download chromedriver and run integration tests
2016-08-11 12:40:40 +02:00
Antonio Scandurra
3e42e65b01
Rename downloadGithubRawFile to downloadFileFromGithub
2016-08-11 12:19:25 +02:00
Antonio Scandurra
65b0f7d70f
Rename cachePath to electronDownloadPath
2016-08-11 12:18:33 +02:00