Commit Graph

690 Commits

Author SHA1 Message Date
Nathan Sobo
e28c03d15b Merge pull request #13001 from flububb/master
Build appropriate 32/64-bit version on Linux
2016-10-28 08:46:04 -06:00
Damien Guard
e4ff2b2296
Use relative paths for signing to avoid weird 7z error 2016-10-27 20:51:40 -07:00
Damien Guard
4edb3fe5c7
For some reason packagedAppPath uses forward-slash on Windows... 2016-10-27 17:06:54 -07:00
Damien Guard
590b64a34b
Fix portable extraction for beta 2016-10-27 16:39:57 -07:00
Damien Guard
0ba765d43e
Older signtool does not support append signature /as switch 2016-10-26 14:35:07 -07:00
Damien Guard
428dbabe81
Sign Windows builds with sha256 and timestamp 2016-10-26 10:46:02 -07:00
flububb
35bc2cf520 Pick the right architecture on linux #12972
I don't know if the fixation of the architecture on non linux platforms makes any sense (line 25). Maybe simply 'arch': process.arch is the right way to go. Can't test it on my linux machine.
2016-10-16 21:45:59 +02:00
Antonio Scandurra
c54b330d68 Update eslint and fix new script/lint errors 2016-10-14 13:54:10 +02:00
Antonio Scandurra
6c65f88bc3 Copy and transpile benchmarks/benchmark-runner.js 2016-10-14 12:13:52 +02:00
Antonio Scandurra
a0c7c63e92 Run benchmarks tests during script/test on macOS 2016-10-14 11:03:14 +02:00
Damien Guard
ba4836ce93
Extract signed exe's from nuget-full for portable 2016-10-11 09:16:40 -07:00
Philip Schatz
7bbc0d12eb 🐛 support variable terminal widths 2016-09-27 14:25:45 -04:00
Antonio Scandurra
924ca8ecf6 Run main process tests on Windows 2016-09-09 17:58:23 +02:00
Antonio Scandurra
6841babc4a Run main process tests on Linux 2016-09-09 17:58:23 +02:00
Damien Guard
3eb55d7db0
Add Windows file.ico lost in move to new build 2016-09-08 21:16:55 -07:00
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