Commit graph

820 commits

Author SHA1 Message Date
Sergio Padrino
8b75aaa97c Allow Windows releases to not have a delta nuget package 2021-04-09 10:03:46 +02:00
Sergio Padrino
dce4e0acea Behind a feature flag, update x64 macOS users to the arm64 build when possible 2021-04-08 16:21:45 +02:00
Sergio Padrino
ba4c0dbb9e Fix upload of nuget packages 2021-04-08 16:12:17 +02:00
Sergio Padrino
dcd1848c1c Use the architecture as suffix instead of path for artifacts 2021-04-08 16:12:13 +02:00
Sergio Padrino
7621c25c20 Fix more build issues 2021-04-06 17:11:00 +02:00
Sergio Padrino
760c89325e Disable updating from x64 under Rosetta to arm64 2021-04-06 16:23:31 +02:00
Sergio Padrino
d56b12af7a Remove unused import 2021-04-06 14:07:05 +02:00
Sergio Padrino
03c9d77585 First batch of changes to support deploying arm64 builds 2021-04-06 13:56:05 +02:00
Dennis Ameling
69882e844e Merge remote-tracking branch 'upstream/development' into windows-arm-support 2021-02-19 09:17:27 +01:00
Sergio Padrino
f353373e41 Merge branch 'development' into trampoline-server-playground 2021-02-17 11:36:51 +01:00
Dennis Ameling
a452402fd1 Merge remote-tracking branch 'upstream/development' into windows-arm-support 2021-02-11 14:40:07 +01:00
Sergio Padrino
d0d95c1b3c (WIP) Cleanup and other changes to trampoline server 2021-02-02 12:10:57 +01:00
Dennis Ameling
14141a73ba First work for Electron 11 upgrade 2020-12-22 12:04:48 +01:00
Jip Sterk
9c7868b176
Merge branch 'development' into resolve-json-module 2020-12-16 07:02:13 +01:00
Dennis Ameling
cc52125343 Fix linting 2020-11-19 10:49:50 +01:00
Dennis Ameling
45e8d526a1 Cleanup & optimizations 2020-11-19 10:48:13 +01:00
Dennis Ameling
c7f486582c Change the assumption of a x64 host to OS arch 2020-11-19 10:40:38 +01:00
Dennis Ameling
3172a87f58 Download Windows arm64 node lib in CI 2020-11-19 10:29:56 +01:00
Dennis Ameling
ed8f1e88be Default to NodeJS current arch 2020-11-19 10:29:56 +01:00
Dennis Ameling
004f76057f Add support for Windows ARM 2020-11-19 10:29:54 +01:00
Olivier
5665d97076
Fix typo 2020-11-18 12:42:20 -05:00
Olivier
5082630613
Fix typo 2020-11-17 23:44:06 -05:00
Jip Sterk
a0489be563
resolve json modules 2020-10-20 00:55:14 +02:00
Markus Olsson
2a7cef4764 Merge branch 'development' into tree-shake-octoicons 2020-09-30 11:23:47 +02:00
Brendan Forster
ccbf45f01f cleanup some unneeded CircleCI checks 2020-08-25 10:14:40 -03:00
Brendan Forster
f80c54737b use existing value for isPublishable() 2020-08-25 10:14:40 -03:00
Brendan Forster
a5df2f1df4 remove deprecated isRunningOnFork code 2020-08-25 10:14:35 -03:00
Brendan Forster
baec8f6051 replace isRunningOnFork usages with isPublishable 2020-08-25 10:14:34 -03:00
Markus Olsson
edac8e0f5e Merge branch 'development' into upgrade-octicons 2020-08-21 13:00:23 +02:00
Markus Olsson
f2594f34ba Get a little bit more logging out of publish/package step 2020-08-17 13:42:36 +02:00
Markus Olsson
3e817b8651 Merge branch 'development' into upgrade-octicons 2020-08-17 10:38:51 +02:00
Markus Olsson
2d63447841 Merge branch 'development' into tree-shake-octoicons 2020-08-11 18:48:22 +02:00
Markus Olsson
f862081f74 Merge branch 'development' into upgrade-octicons 2020-08-11 18:43:37 +02:00
Markus Olsson
114ce6f408 Merge branch 'development' into remove-requires 2020-08-11 18:43:23 +02:00
Markus Olsson
e26d8db3ff Merge branch 'development' into remove-requires 2020-08-10 12:43:18 +02:00
Markus Olsson
229fc60256 Merge branch 'development' into spike/actions-win32 2020-08-07 10:53:36 +02:00
rafeca
78e048fbdd
Merge branch 'development' into electron-9 2020-08-06 16:03:37 +02:00
rafeca
cc223c173a
fillRule -> fr 2020-08-06 15:22:12 +02:00
rafeca
f6c1875c9f
Copy fill-rule attribute from octoicons' SVGs 2020-08-06 15:10:55 +02:00
Markus Olsson
2a5aed6fb2
Merge branch 'development' into upgrade-octicons 2020-08-05 18:51:25 +02:00
Markus Olsson
c8663b60c2 Merge branch 'development' into spike/actions-win32 2020-08-05 17:45:00 +02:00
Markus Olsson
e8cba5b82f Merge branch 'development' into chore/only-custom-tslint-rules 2020-08-05 15:46:14 +02:00
Markus Olsson
636382b0eb Merge branch 'development' into electron-9 2020-08-04 11:23:12 +02:00
Rafael Oleza
726db12bec
Guard against empty value env variables in GitHub Actions 2020-07-22 20:16:17 +02:00
Rafael Oleza
91f2187be3
Return SHA for github actions 2020-07-22 20:16:17 +02:00
Rafael Oleza
598e4168fc
Calculate the release branch name correctly on GitHub Actions 2020-07-22 20:16:16 +02:00
Rafael Oleza
7e9b84b514
Update generate-octicons script to generate named exports
With named exports for each of the octicons we can leverage WebPack tree shaking capabilities to get rid of unused octicons in the bundle
2020-07-21 10:12:47 +02:00
Rafael Oleza
4bf7673f7c
Update generate-icons script to use the new data
The data structure returned by octicons has changed in v10.0.0 (see dbf02d1bb8/CHANGELOG.md (breaking-changes--1)).

Now we need to get the SVG paths from a specific size from the sizes array.
2020-07-17 16:47:50 +02:00
Rafael Oleza
761d6ac927
Upgrade electron-debug and electron-devtools-installer packages 2020-07-16 17:17:16 +02:00
Rafael Oleza
4f94999984
Use import for to-camel-case and xml2js 2020-07-14 16:32:49 +02:00
Rafael Oleza
3ca6b4867b
Use import for front-matter module 2020-07-14 16:32:49 +02:00
Rafael Oleza
6c9fce3db8
Remove export = 2020-07-10 21:22:20 +02:00
Markus Olsson
c109b5a8ec Simpler path 2020-07-09 22:47:41 +02:00
Markus Olsson
573ae7b61f Try getting the actual failure position 2020-07-09 22:43:11 +02:00
Markus Olsson
29c3dcd195 Get rid of debug log 2020-07-09 20:39:38 +02:00
Markus Olsson
ac0eb1d166 omg 2020-07-09 20:31:57 +02:00
Markus Olsson
b01b903adb Debug forever 2020-07-09 20:15:20 +02:00
Markus Olsson
a5a409f9f7 We don't have jest-unit any more 2020-07-09 20:10:43 +02:00
Markus Olsson
d652608f35 Test reporting test errors 2020-07-09 19:28:28 +02:00
Markus Olsson
c30863134f GitHub Actions can build on darwin as well 2020-07-09 14:17:24 +02:00
Markus Olsson
4d10b0d0df We can build on Windows on GH actions as well 2020-07-09 14:09:09 +02:00
Markus Olsson
cc9e4b2adb Get whether we're on a fork in an action
See https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables
2020-07-09 14:09:00 +02:00
Markus Olsson
134beecda3 Get SHA on GitHub Actions 2020-07-09 14:08:49 +02:00
Rafael Oleza
1a9848af7f
Enable importHelpers TypeScript compiler option
This avoids inlining the TypeScript helpers and instead imports them from tslib, saving bundle size
2020-07-08 17:40:20 +02:00
Rafael Oleza
a3f21ac29b
Enable esModuleInterop in TypeScript configuration 2020-07-08 17:40:20 +02:00
Markus Olsson
5374f9330a This no longer exists in eslint core 2020-07-02 16:45:49 +02:00
Andrew Casey
3c541dc92d Fix lint and prettier issues 2020-06-24 18:28:06 +00:00
Rafael Oleza
71d3945b6e
Merge pull request #10025 from amcasey/TS39
Upgrade to TypeScript 3.9.5
2020-06-24 17:11:33 +02:00
Markus Olsson
b221a8c434 Notarization is complaining about syntax error on line 8, this is the only thing I can think of 2020-06-23 14:03:26 +02:00
Andrew Casey
b6d92328ef Update script/post-install.ts
Co-authored-by: Rafael Oleza <rafeca@gmail.com>
2020-06-22 19:36:29 +00:00
Andrew Casey
6da50096de Update script/post-install.ts
Co-authored-by: Rafael Oleza <rafeca@gmail.com>
2020-06-22 19:36:29 +00:00
Andrew Casey
a781f20afd Update script/post-install.ts
Co-authored-by: Rafael Oleza <rafeca@gmail.com>
2020-06-22 19:36:29 +00:00
Andrew Casey
398bd28d21 Update script/post-install.ts
Better default exit status.

Co-authored-by: Rafael Oleza <rafeca@gmail.com>
2020-06-22 19:36:29 +00:00
Andrew Casey
6de4d61e85 Upgrade @types/node to 12.12.24 to match electron 2020-06-22 19:36:29 +00:00
Andrew Casey
964697201c Fix TypeScript 3.9 errors
Mostly, code flow analysis improvements have made `assertNever`s
unnecessary.
2020-06-22 19:36:29 +00:00
Bill Cole
64b5c66efd
Added key per Issue #9050 2020-05-31 23:21:31 -04:00
Bill Cole
1a99b50afb
Update entitlements.plist 2020-05-31 23:13:56 -04:00
Bill Cole
660e0edc75
Add entitlement for BBEdit. See Issue #9050 2020-05-31 23:13:31 -04:00
evelyn masso
a39c3cfe10 restructure to allow option to add "blank" release 2020-03-25 17:02:29 -07:00
evelyn masso
a50f4c4fae add more console output 2020-03-25 16:36:07 -07:00
evelyn masso
6823bc6833 explicitly check for beta 2020-03-25 16:25:00 -07:00
evelyn masso
e9982eab0a fix up types, obj construction 2020-03-02 09:23:24 -08:00
evelyn masso
4ecf850e31 move log 2020-03-02 09:23:24 -08:00
evelyn masso
4c2c139c44 inline logic 2020-03-02 09:23:24 -08:00
evelyn masso
3a4e44636f more cleanup 2020-03-02 09:23:24 -08:00
evelyn masso
54ce5e92a4 comments! 2020-03-02 09:23:24 -08:00
evelyn masso
25e1b055ed cleanup 2020-03-02 09:23:24 -08:00
evelyn masso
cb5f3f99cb Update run.ts 2020-03-02 09:23:24 -08:00
evelyn masso
950d3e2dea cleanup steps 2020-03-02 09:23:24 -08:00
evelyn masso
f4c77ba953 clean up makeNewChangelog 2020-03-02 09:23:24 -08:00
evelyn masso
10fc3b49c9 add catchers 2020-03-02 09:23:24 -08:00
evelyn masso
642ef70cbe rewrite draft-release task 2020-03-02 09:23:23 -08:00
evelyn masso
68de54f4db fix changelog updating 2020-03-02 09:23:23 -08:00
evelyn masso
8ad2911520 trying this out 2020-03-02 09:23:23 -08:00
Katrina Uychaco
8edf26f14c
Merge branch 'development' into chore/cleanup-draft-notes-task 2020-02-07 10:27:05 -08:00
Katrina Uychaco
cab5d14ce3
Merge branch 'development' into format-notes-yarn-task 2020-02-06 15:08:48 -08:00
evelyn masso
9c7705a0c1 no need to stringify a string 2020-02-04 14:40:41 -08:00
evelyn masso
521423b950 code comments 2020-02-04 14:40:41 -08:00
evelyn masso
4c843171d7 clarify filters 2020-02-04 14:40:41 -08:00
evelyn masso
63ca4324fb remove duplicate-ish changelog task 2020-01-31 15:21:30 -05:00
evelyn masso
6efd97e8e6 Revert "remove old changelog validate script"
This reverts commit 58d41f6789.
2020-01-31 15:21:30 -05:00
evelyn masso
58d41f6789 remove old changelog validate script 2020-01-29 15:58:58 -05:00
evelyn masso
7e4e08cd2c extract release note tag order docs 2020-01-29 10:19:21 -05:00
Markus Olsson
7b92e178d2 Use SHA256 as the file digest algorithm 2020-01-13 08:43:26 +01:00
evelyn masso
347853d565 refactor icon path into helper function 2019-12-05 16:14:19 -08:00
Ed Luff
f56d478173
Merge branch 'development' into patch-1 2019-11-06 20:17:20 +00:00
evelyn masso
4305dc38fa preserve previous logic under a clearer name 2019-11-05 10:01:34 -08:00
evelyn masso
5b3a9953a4 wow, that's in important ! 2019-11-04 10:59:13 -08:00
evelyn masso
87465683d5 refactor release channel + publishing logic 2019-11-04 10:41:06 -08:00
evelyn masso
ab8fb64f36 Revert "don't fall back to NODE_ENV for determining release channel"
This reverts commit e06f29662d.
2019-11-04 10:40:21 -08:00
evelyn masso
e06f29662d don't fall back to NODE_ENV for determining release channel
if it's not a release branch we should fall back to 'development'
2019-11-04 09:56:30 -08:00
Ed Luff
e9d567971c
Merge branch 'development' into patch-1 2019-11-04 16:39:21 +00:00
evelyn masso
eb00ee4f42 remove unneeded identity config field 2019-11-04 08:30:49 -08:00
evelyn masso
3b8675f5cb override type to avoid @ts-ignore 2019-11-04 08:08:54 -08:00
evelyn masso
ecae21ac24 Update build.ts 2019-11-03 15:09:59 -08:00
evelyn masso
4f48267003 don't need these native entitlements 2019-11-03 15:08:54 -08:00
evelyn masso
86aae6ab77 unneeded entitlement 2019-11-03 15:04:29 -08:00
evelyn masso
c7467b1420 remove sub-entitlement
com.apple.security.cs.allow-unsigned-executable-memory includes com.apple.security.cs.allow-jit and more
2019-11-03 15:01:38 -08:00
evelyn masso
39d336e50e remove dyld entitlement 2019-11-03 14:53:36 -08:00
evelyn masso
59e745fef0 remove media entitlements 2019-11-03 14:53:23 -08:00
evelyn masso
f027c4fbcd this version opt is ignored 2019-11-03 14:48:14 -08:00
evelyn masso
6ae40a5d87 customize signing type and specify electron version 2019-11-03 14:03:25 -08:00
evelyn masso
831efce4cd always use hardenedRuntime 2019-11-03 14:01:59 -08:00
evelyn masso
8d19d844bb add entitlements 2019-11-03 14:01:44 -08:00
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