Commit graph

696 commits

Author SHA1 Message Date
evelyn masso
ed0a147314 only notarize when distributing 2019-11-03 13:59:36 -08:00
evelyn masso
4a6e05e43b disable hardenedRuntime 2019-11-01 16:42:20 -07:00
evelyn masso
1b4e7f95a0
Merge branch 'development' into chore/macos-notarize 2019-11-01 11:01:33 -07:00
evelyn masso
ad89cbfb42 add notarization for publishable macOS builds 2019-10-30 10:46:38 -07:00
Ed Luff
2a1b1b4497
consistency 2019-10-29 22:27:10 +00:00
Ed Luff
4fe83838ae
nor allowUnused 2019-10-28 20:48:02 +00:00
evelyn masso
cc8ed4fa69 Revert "Revert "new octicons package""
This reverts commit f3ce77a5ba.
2019-09-25 11:24:58 -07:00
evelyn masso
f3ce77a5ba Revert "new octicons package"
This reverts commit 19fb0cac27.
2019-09-25 11:23:53 -07:00
evelyn masso
19fb0cac27 new octicons package
see https://github.com/primer/octicons/pull/311
2019-09-24 13:39:31 -07:00
Brendan Forster
62fbe90e8f format some json files 2019-05-03 09:24:59 -03:00
Brendan Forster
cf1b085702 at build time, ensure licenses include trailing newline
Co-Authored-By: jamesgeorge007 <jamesgeorge998001@gmail.com>
2019-03-26 20:29:22 -03:00
Brendan Forster
1ba7e36c6a
Merge pull request #7119 from JB1905/development
Enable darwinDarkModeSupport when packaging for macOS
2019-03-25 14:54:37 -03:00
Jakub Biesiada
fd964a65f7 Update build.ts 2019-03-18 22:12:44 +01:00
Brendan Forster
ec08a240b6 update explicit exclusions to new plugin name 2019-03-07 11:03:58 -04:00
Brendan Forster
3f2084e1cb
Merge pull request #6647 from desktop/add-test-for-node-sass-migration
add regression test for node-sass migration
2019-02-17 16:07:40 -04:00
Brendan Forster
5415f2d492 tighten up copy 2019-01-25 09:03:12 -04:00
Brendan Forster
f9e80ae345 liiint 2019-01-25 09:03:12 -04:00
Brendan Forster
0078189470 add build step for release builds to catch SASS regressions 2019-01-25 09:03:12 -04:00
Brendan Forster
68d26b50a4 Merge branch 'development' into no-prettier-script 2019-01-22 18:14:45 -04:00
evelyn masso
1f84edfcfb
Merge pull request #6640 from desktop/use-promises-theyre-pretty-neat
extract updateLicenseDump and promisify it
2019-01-17 09:11:44 -08:00
Brendan Forster
d2be1c4d5b
Merge pull request #6516 from desktop/refresh-octicons
update octicons package to v8.x
2019-01-16 14:47:31 -04:00
Brendan Forster
1b93fd4df4
Merge pull request #6517 from desktop/port-script-tests-to-jest
port script tests from mocha to jest
2019-01-16 13:17:33 -04:00
Brendan Forster
5649486538 only promisify once 2019-01-16 12:16:15 -04:00
Brendan Forster
3d005298b9 leverage promise-based API in fs-extra 2019-01-16 10:51:14 -04:00
Brendan Forster
3f2be3ba32 promisify these APIs to simplify control flow 2019-01-16 10:46:42 -04:00
Brendan Forster
0bb73478e5 there is no upset 2019-01-16 09:05:09 -04:00
Brendan Forster
aa6606b045 move license overrides closer to module 2019-01-16 09:01:06 -04:00
Brendan Forster
2a858eceec extract updateLicenseDump to separate module and promisify it 2019-01-16 08:50:41 -04:00
Brendan Forster
862e0922df
update a couple of mentions of master to development 2019-01-09 14:02:04 -04:00
Brendan Forster
8ceef71712 ensure jest-junit generates distinct files before uploading 2019-01-03 13:08:19 -04:00
Brendan Forster
4005ff8720 don't apply rule to jest config 2019-01-03 13:08:19 -04:00
Brendan Forster
a0b9185a43 remove chai assertions 2019-01-03 13:08:19 -04:00
Brendan Forster
c8f60558c2 port script tests to jest 2019-01-03 13:08:19 -04:00
Brendan Forster
2ddaab868b ensure octicons are generated in predictable order 2018-12-31 13:48:02 -04:00
Brendan Forster
cf99e9555c
Merge pull request #6260 from desktop/upstream-fix-for-install-scripts
spaces in filenames are problematic for profile scripts
2018-12-19 13:25:59 -04:00
evelyn masso
f1604561cf pull prettier into yarn scripts 2018-11-30 12:16:43 -08:00
Brendan Forster
dc775fa11f corrected formatting of emitted profile script 2018-11-21 14:59:16 -04:00
Brendan Forster
0fa2a184b4 wrap path in quote marks as sanity check 2018-11-21 14:58:58 -04:00
Brendan Forster
51c9efec11 rename profile script to avoid spaces 2018-11-21 14:58:21 -04:00
evelyn masso
1b6bc7cfcd pull eslint into yarn scripts 2018-11-19 12:11:53 -08:00
Jed Fox
b39f201453
Run Prettier on HTML files 2018-11-07 11:05:07 -05:00
Brendan Forster
9854b24239 revert this tracing as it affect local production builds 2018-10-26 08:11:24 -03:00
evelyn masso
3756bc9ece comment 2018-10-25 14:52:36 -07:00
evelyn masso
e1425f1dfc don't getSha locally 2018-10-25 14:51:10 -07:00
William Shepherd
ba3194c1e0
Merge pull request #5663 from desktop/extract-ci-logic
extract CI logic to make scripts more friendly
2018-10-25 13:25:47 -05:00
Brendan Forster
d4713a175b add install hooks to deb package
Co-Authored-By: bb441db <jelle.keeris@gmail.com>
2018-10-23 11:26:06 -03:00
Brendan Forster
8cc232f42d add snap package to build
Co-Authored-By: Martin Wimpress <flexiondotorg@users.noreply.github.com>
Co-Authored-By: bb441db <jelle.keeris@gmail.com>
2018-10-23 11:26:06 -03:00
Brendan Forster
8258acb70d
Update info.plist 2018-10-11 11:11:54 -03:00
Brendan Forster
4f8ea9079e clarified the circleci checks 2018-09-17 08:40:12 -03:00
Brendan Forster
5431018d16 extract platform-specific checks for building and packaging into new build 2018-09-16 20:47:32 -03:00
Brendan Forster
a07604db65 update build script to provide a base info.plist with folder drop enabled 2018-09-10 14:23:43 -03:00
evelyn masso
42c5b3fa18
Merge pull request #5478 from desktop/add-curl-dependencies
add explicit dependencies to libcurl and libsecret when packaging for deb and RPM
2018-09-10 08:50:28 -07:00
Brendan Forster
a52c8f4d1d
add libscret shared library dependencies 2018-08-31 10:26:47 -03:00
Brendan Forster
7295b2b447 add explicit dependencies for deb and RPM installers 2018-08-26 12:09:40 -03:00
evelyn masso
2e6c4372f7 reintegrate extra env for unit tests 2018-08-17 14:49:46 -05:00
Brendan Forster
e5831a9ac3
s/module/mode 2018-08-13 19:12:34 -03:00
Brendan Forster
b346ced1c6 we use yarn now 2018-08-13 17:25:58 -03:00
Brendan Forster
e75a35451a set a flag when running unit tests that pass through ts-node 2018-08-13 16:54:29 -03:00
Brendan Forster
9d70a77468 Merge branch 'master' into upgrade-to-local-yarn-usage 2018-08-09 12:51:46 -03:00
Jed Fox
15c4019a55 Merge branch 'master' into prettier-1.14 2018-08-08 19:41:25 -04:00
Brendan Forster
49b1f14b45 add some notes 2018-08-03 15:08:17 -03:00
Brendan Forster
33ba8972af first pass at a postinstall script that loads the right version of yarn 2018-08-03 14:07:22 -03:00
Brendan Forster
8abd3dacf1 Merge branch 'master' into migrate-to-circle-ci-2.0 2018-08-02 12:40:15 -03:00
Brendan Forster
02d80738bf
less ceremony 2018-08-01 18:51:59 -03:00
Vanessa Yuen
4a4cd04f96 newline 2018-07-27 17:43:34 -07:00
Vanessa Yuen
77a054ded8 add deploy steps 2018-07-27 17:28:19 -07:00
Vanessa Yuen
ad820c1c9a improve use of yarn caching 2018-07-26 22:08:30 -07:00
Vanessa Yuen
29f31ce098 travis 2018-07-26 21:26:10 -07:00
Vanessa Yuen
33cf7fcf24 Set key partition list 2018-07-26 21:23:51 -07:00
Brendan Forster
98ba69a86c liiiint 2018-07-26 17:31:57 -03:00
Brendan Forster
233e2ec5b9 the zeroth beta should be skipped 2018-07-26 15:40:01 -03:00
Brendan Forster
96271d101f ignore entries from test deployments 2018-07-26 15:35:24 -03:00
Brendan Forster
aaf7ee17d0 ignore new merges on master for production releases
This avoids two different kinds of confusion:
 - we edit the changelog entries when publish, so older merges can reappear
 - we assume that these merges have already been published to beta, so they
   should be already in the changelog
2018-07-26 15:30:00 -03:00
Jed Fox
fa1f3b1655 Upgrade Prettier to 1.14 (beta) 2018-07-18 06:42:46 -04:00
Brendan Forster
39e28a5125 use await to discourage from further callback usage 2018-07-16 16:57:16 -03:00
Brendan Forster
7b2733cd22 switch over to use new endpoint 2018-07-16 16:57:16 -03:00
Jed Fox
0cabb14df7 Address review comments 2018-07-04 14:29:29 -04:00
Brendan Forster
7d1dee546a Merge branch 'master' into pr/3675 2018-07-03 14:44:55 -03:00
Brendan Forster
b740f69783 make control flow more explicit 2018-06-26 09:26:55 -03:00
Brendan Forster
8110a3bb19 fix the compiler warnings 2018-06-22 10:44:22 -03:00
Brendan Forster
bbab6f36e5 ensure scripts are strictly typed 2018-06-22 10:41:04 -03:00
Brendan Forster
87cc7b99d3 Merge branch 'master' into pr/3675 2018-06-18 13:32:48 -03:00
Brendan Forster
2660d93cde add support for spawing the dev tools when running renderer tests 2018-06-07 13:23:49 +09:30
Brendan Forster
a4b8d23ea8 Merge branch 'master' into pr/3675 2018-06-06 17:44:42 +09:30
Brendan Forster
b9386be0d1 ensure prettier looks at all these files 2018-05-28 22:44:40 +10:00
Brendan Forster
b0c34b1059 Revert "lift this up to the file header"
This reverts commit f9d4740b7b.
2018-05-24 11:24:45 +10:00
Brendan Forster
e7b85143ae tidy up this bit of type annotation 2018-05-24 11:12:05 +10:00
Brendan Forster
f9d4740b7b lift this up to the file header 2018-05-24 11:07:47 +10:00
Brendan Forster
e5652d3f70 fixing up some T Y P E S 2018-05-23 15:42:47 +10:00
Brendan Forster
3540ed76fa report these warnings 2018-05-21 16:29:48 +10:00
Brendan Forster
2578dc6022 actually we should watch these sync methods 2018-05-21 16:28:17 +10:00
Brendan Forster
9ff56aa3d0 cleanup unnecessary globals 2018-05-21 15:49:06 +10:00
Brendan Forster
5c57361f36 lint on new TS files at the root of the repository 2018-05-21 15:40:40 +10:00
Brendan Forster
e9ee7cc27d extract getPortOrDefault function to be defensive 2018-05-14 14:31:32 +10:00
Brendan Forster
7a8fcd1203 some additional guard checks 2018-05-14 14:30:39 +10:00
Brendan Forster
317d3fb03f defensive work around the deployment secret 2018-05-14 14:22:06 +10:00
Brendan Forster
57c65b17c3 defensive lookup of getSHA using environment variables 2018-05-14 14:18:32 +10:00
Brendan Forster
cfff3094dc validate input to electron-packager 2018-05-14 14:13:57 +10:00
Jed Fox
87e9529977
Merge branch 'master' into my-hands-are-typing 2018-05-13 18:42:34 -04:00
Jed Fox
9dab65aa29 Revert logic changes 2018-05-05 17:10:55 -04:00
Jed Fox
43466fc645 🔥 script/debug 2018-05-05 17:09:39 -04:00
Jed Fox
3b05ffabbf No more JS 2018-05-05 16:16:26 -04:00
Brendan Forster
dafdb2b9f7 Merge branch 'master' into upgrade-fs-extra 2018-05-04 15:08:33 +10:00
Brendan Forster
78d36a105a remove unused debug script 2018-04-30 13:28:47 -05:00
Brendan Forster
a6ca6926e3 Merge branch 'master' into my-hands-are-typing 2018-04-20 11:24:22 -05:00
Brendan Forster
ba54497f43 Merge branch 'master' into upgrade-fs-extra 2018-04-19 10:58:15 -05:00
Brendan Forster
c036e11bef fixed naming for things 2018-04-11 13:41:54 +10:00
Brendan Forster
66b0c75fd1 Merge branch 'master' into upgrade-yarn-time 2018-04-08 15:25:26 +10:00
Brendan Forster
27c191c623 Merge branch 'master' into my-hands-are-typing 2018-04-08 14:25:11 +10:00
Markus Olsson
768dc010f1
Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-04 14:45:18 +02:00
Markus Olsson
985bf1c23d
Merge pull request #4355 from desktop/investigate-slimming-things
generate an analysis of the renderer bundle when building for prod
2018-04-03 15:36:38 +02:00
Brendan Forster
42f536bb0b Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-03 14:47:26 +10:00
Brendan Forster
2bebf74be3 embed the choosealicense license alongside the license payload 2018-04-03 14:47:22 +10:00
Brendan Forster
63c199877d Merge branch 'master' into pr/3675 2018-04-02 17:54:33 +10:00
Brendan Forster
71caf015c2
Merge branch 'master' into upgrade-yarn-time 2018-03-31 16:30:05 +11:00
Markus Olsson
614f848985
Merge pull request #4198 from jkleinsc/arm64
Add the ability to build arm64 builds
2018-03-29 21:49:29 +02:00
Brendan Forster
835aeb7702 tidy up the things 2018-03-29 18:56:34 +11:00
Brendan Forster
542b8bde84 perform license parsing as part of build proces 2018-03-29 16:51:14 +11:00
Brendan Forster
6c1fadfe76 move the analysis file into dist so that it isn't part of the packaged app 2018-03-29 15:49:33 +11:00
Brendan Forster
a76185792d
Merge branch 'master' into upgrade-yarn-time 2018-03-29 12:29:46 +11:00
William Shepherd
289ae93745
Merge pull request #4336 from desktop/validate-all-the-things
validate the changelog to catch errors before it's time to release
2018-03-28 20:14:29 -05:00
William Shepherd
33162baccf
Merge pull request #4288 from desktop/relax-regex-for-fixed-issue
relax regex rule to catch more merged PRs when generating changelog
2018-03-28 20:13:59 -05:00
Brendan Forster
15bf7e3d0d forgive me padre for i have TYPES 2018-03-28 08:01:23 +11:00
Brendan Forster
4e34d4a870 this message here refers to a non-existant command 2018-03-27 12:39:46 +11:00
Brendan Forster
32d0cea27a lint the changelog file to catch syntax errors 2018-03-27 12:21:02 +11:00
Brendan Forster
2fd937430a update error message 2018-03-27 12:03:08 +11:00
Brendan Forster
c926876209 improve error output 2018-03-27 11:53:14 +11:00
Brendan Forster
cf7f361f34 format the errors from ajv rather than relying on their infrastructure, which loses some context 2018-03-27 11:43:05 +11:00
Brendan Forster
42c187799b work with the object, not just the text 2018-03-27 11:41:59 +11:00
Brendan Forster
c0edc1a9ba this seems helpful 2018-03-27 11:03:41 +11:00
Brendan Forster
1a17c6c092 ajv doesn't seem to care about malformed JSON, gotta do this first as a sanity check 2018-03-27 11:02:00 +11:00
Brendan Forster
04cc3bd122 first pass at script to validate changelog 2018-03-27 10:54:21 +11:00
Brendan Forster
c3dfb3f7e4 Merge branch 'master' into pr/4198 2018-03-27 08:59:27 +11:00
Brendan Forster
1cfee4b4c4 on Windows this needs to be the full cmd file path 2018-03-26 10:23:35 +11:00
Brendan Forster
a775049f6a and one last comment 2018-03-24 12:12:55 +11:00
Brendan Forster
b6bb2a95e2 address review feedback 2018-03-24 12:10:05 +11:00
Brendan Forster
918c8fd64a Merge branch 'master' into upgrade-yarn-time 2018-03-24 12:09:02 +11:00
Brendan Forster
26666adc5f words 2018-03-23 11:23:53 +11:00
Brendan Forster
2cc6be365a add comment to explain hard-coded index 2018-03-23 11:21:24 +11:00
Brendan Forster
3bb4779b63 log what commands are spawned 2018-03-23 08:52:32 +11:00
Brendan Forster
a1d3cc6e89 an even simpler fix 2018-03-22 13:13:18 +11:00
Brendan Forster
a856e93d9f add a sanity check for when an empty log is returned 2018-03-22 13:06:56 +11:00
Brendan Forster
6491dc57f9 we know there are three groups returned, so we can just poke the last value directly 2018-03-22 09:25:45 +11:00
Brendan Forster
2fea7f9b8b refine the regex to catch more scenarios 2018-03-21 17:27:26 +11:00
Brendan Forster
8369d8279a add test for multiple closing statements 2018-03-21 17:26:15 +11:00
Brendan Forster
c79e4fae16 extract function and add tests 2018-03-21 17:15:16 +11:00
Brendan Forster
2939f72f5b some PRs will use Fixed: #XXX which isn't caught by this rule 2018-03-21 17:12:22 +11:00
Brendan Forster
afe26687bf propagate the exitCode up the chain 2018-03-16 18:08:53 +11:00
Brendan Forster
a5b8861cf9 extracting unit tests to a standalone script
This npm script has been unreadable for a long time, and
rather than putting in additional hacks I decided to extract
it to it's own file so that it can be annotated for future
visitors to this fresh hell that I find myself in.
2018-03-16 18:05:06 +11:00
Neha Batra
fdf6c52f0e Update draft-release to match merge conflict resolution decisions
Merging added info around semver
2018-03-14 15:43:21 +01:00