Commit graph

697 commits

Author SHA1 Message Date
Josh Abernathy 7d774daa19 🙈 2016-07-27 18:04:49 -04:00
joshaber 6e59700333 Print a useful error message. 2016-07-27 09:42:26 -04:00
joshaber 21a17fa2a2 Return null if the binary doesn't exist. 2016-07-27 09:41:48 -04:00
joshaber 32d4856f1e Split our package.json into two different packages. 2016-07-21 14:31:30 -04:00
joshaber 43866fade1 Remove ohnogit 2016-07-15 18:35:07 -07:00
joshaber 01a92870ac Don't bundle vendor. 2016-07-05 16:25:59 -04:00
Brendan Forster eacb7c0786 list the names of the files published to central 2016-07-05 13:32:36 +10:00
Brendan Forster ffef11db2f implement certificate setup and cleanup and pass arguments to signtool 2016-07-05 13:05:20 +10:00
joshaber fe60e15924 Don't dereference symlinks during packaging.
Fixes #100
2016-07-03 22:17:47 -04:00
joshaber 15f38b357e Remove git before we copy it again. 2016-06-30 23:06:45 -04:00
joshaber 6f819b40f1 Be quiet Webpack 2016-06-30 23:04:10 -04:00
joshaber 0d2265fa5c Don't use the tmpdir
It just slows us down.
2016-06-30 21:13:16 -04:00
joshaber f0480c1f6d Don't copy object files 2016-06-30 21:12:47 -04:00
Brendan Forster fa9cccb0bd words are hard 2016-06-30 09:35:53 +10:00
Brendan Forster d24cdc34e8 just use fs-extra for copying 2016-06-30 09:18:37 +10:00
Brendan Forster 3436abb4a8 make including the embedded git work across multiple platforms 2016-06-28 11:17:04 +10:00
Markus Olsson 5841043988 Fix path to generated octicons file 2016-06-27 17:13:54 +02:00
joshaber 41921bb527 Copy git into our app 2016-06-23 11:37:39 -04:00
joshaber 4c0b5c02f0 Ignore all the git fixtures. 2016-06-22 15:10:24 -04:00
joshaber 2d58f51ecc Copy the npmrc for the app bundling too.
To ensure we get the Electron binaries.
2016-06-22 15:10:15 -04:00
Josh Abernathy 2cd3c321bf Merge pull request #50 from desktop/sass
Sassy styles
2016-06-22 12:07:32 -04:00
Markus Olsson b7d50dd19d Merge pull request #49 from desktop/sign-for-os-x
Sign on macOS
2016-06-20 13:32:52 +02:00
Markus Olsson 3551d88a67 We're not copying the icons to the build dir any more 2016-06-17 01:32:59 +02:00
joshaber 47fea48838 Only setup the key when building on Travis 2016-06-16 15:43:16 -07:00
joshaber 045b6e65e4 Fix the command path 2016-06-16 15:43:05 -07:00
joshaber 4b47276da9 Fix the download call 2016-06-16 15:35:23 -07:00
joshaber 9dcde259ec Download the certificate on macOS 2016-06-16 15:17:50 -07:00
Markus Olsson 0a2f11f19d We don't have to copy static now, all resources should be require()d 2016-06-17 00:15:20 +02:00
joshaber 1338f8c4ae Make the sign 2016-06-16 14:49:03 -07:00
joshaber 518b23eefb Send the size and hash too 2016-06-16 13:01:27 -07:00
joshaber 9674c23ef4 Publish all the Windows artifacts 2016-06-16 12:42:35 -07:00
Josh Abernathy 6896c521ac Merge pull request #43 from desktop/octicons
Octicons
2016-06-15 11:28:49 -07:00
Markus Olsson b9e1632228 Auto-generated notice 2016-06-15 19:47:16 +02:00
Markus Olsson dc85dd9942 iHeardYouLikedTheCamelCase 2016-06-15 19:38:56 +02:00
Markus Olsson acd31b0373 📖 2016-06-14 20:22:47 +02:00
Markus Olsson 8e43ee098f Automatically download latest version of the sprites 2016-06-14 20:20:11 +02:00
Markus Olsson 89bc8aa37c Can't use semicolons any more 😢 2016-06-14 13:47:28 +02:00
Markus Olsson d0b8b9bbad 🎨 2016-06-14 13:44:34 +02:00
Markus Olsson cf266ee3ce Use single quotes in generated typescript to keep linter happy 2016-06-14 13:44:30 +02:00
Markus Olsson 1dbfc72386 Let's make it a self-containing type 2016-06-13 20:40:13 +02:00
Markus Olsson e489a78866 Add an initial generate script for octicons
This will require you to have the sprite svg in the current working
directory. Awful, just awful
2016-06-13 16:28:16 +02:00
joshaber a4b87b8300 Tell Central about the artifacts too. 2016-06-10 13:08:45 -04:00
joshaber 0f2fddb0a1 Don't need the explicit return. 2016-06-10 12:52:57 -04:00
joshaber 7fa91c16b3 We say context now. 2016-06-09 16:36:30 -04:00
joshaber 493446bf00 Stringify the JSON before calculating the HMAC. 2016-06-07 15:35:48 -04:00
joshaber 5c66d9be10 Return the promise 2016-06-07 12:43:59 -04:00
joshaber e790758c32 Tell Central about the deployment. 2016-06-07 12:39:03 -04:00
joshaber 63113f8c63 Continue doing some stuff after uploading. 2016-06-07 12:38:43 -04:00
joshaber 2256d9f80f Log when we're not publishing. 2016-06-07 12:37:43 -04:00
joshaber a7adb223ae Merge branch 'master' into oauth 2016-06-01 10:26:11 -04:00
joshaber 87d2c111a8 Merge branch 'master' into oauth 2016-05-27 13:25:23 -04:00
joshaber 93797a59a1 Merge branch 'master' into publish 2016-05-27 12:19:07 -04:00
joshaber 6b5cc2ab27 Use the node 2016-05-27 10:46:23 -04:00
joshaber 9324a95cd6 Register for our URL protocol. 2016-05-26 17:00:55 -04:00
joshaber bef45a2fba Done testing publish 2016-05-25 21:33:04 -04:00
joshaber dcffa1904b Take the first 8 characters to match AppVeyor. 2016-05-25 21:21:36 -04:00
joshaber e1ea50cda4 Shorty SHA 2016-05-25 21:19:15 -04:00
joshaber 05ae5c9a2d I dunno 2016-05-25 21:04:59 -04:00
joshaber e76928e94f Revert "Revert "Get the SHA from the environment.""
This reverts commit d38fddd630.
2016-05-25 21:03:51 -04:00
joshaber d38fddd630 Revert "Get the SHA from the environment."
This reverts commit e22b0f7a6f.
2016-05-25 18:18:22 -04:00
joshaber 86630b96aa Revert "Stop testing."
This reverts commit 32b02dff08.
2016-05-25 18:18:05 -04:00
joshaber 32b02dff08 Stop testing. 2016-05-25 17:43:24 -04:00
joshaber 2eaea6ac2d Prefix release 2016-05-25 17:43:10 -04:00
joshaber e22b0f7a6f Get the SHA from the environment. 2016-05-25 17:39:02 -04:00
joshaber cd5fc30d51 Revert "Log the bucket"
This reverts commit ba21e3f181.
2016-05-25 17:29:54 -04:00
joshaber ba21e3f181 Log the bucket 2016-05-25 17:25:31 -04:00
joshaber 8d077e561d Set Up The Bomb here too 2016-05-25 17:17:52 -04:00
joshaber 185254c3a8 s/release/publish 2016-05-25 17:02:04 -04:00
joshaber 03df5f70c4 Test releasing 2016-05-25 17:01:53 -04:00
joshaber 49e781b7ed Set Us Up The Installer 2016-05-25 16:59:01 -04:00
joshaber d77a98097c Pull these out into their own functions. 2016-05-25 16:56:26 -04:00
joshaber bcd04b346a Let us then try publishing? 2016-05-25 16:49:06 -04:00
joshaber 5c9d90ecab Expose some of the artifact paths. 2016-05-25 16:48:45 -04:00
joshaber 182eaf8879 Launch the app after starting the dev server. 2016-05-25 14:47:13 -04:00
joshaber ab60145302 Move the zip up a level. 2016-05-25 12:18:15 -04:00
joshaber 592aceec40 Log the output dir. 2016-05-25 11:10:30 -04:00
joshaber 9e5baefeec Move up a level 2016-05-25 11:03:03 -04:00
joshaber 87d19611ab Remind ourselves that we'll need to sign the app bundles. 2016-05-25 10:48:47 -04:00
joshaber 922b50ecb0 First shot at making Windows installers. 2016-05-25 10:47:51 -04:00
joshaber de5d6c000a Package for OS X 2016-05-25 10:37:27 -04:00
joshaber 81e79dd532 Rename package => build. 2016-05-25 10:22:54 -04:00
joshaber 3f33e43ace Just log the node environment 2016-05-24 15:30:29 -04:00
joshaber 60cbfa635d Log whether we're building for production or development 2016-05-24 15:20:23 -04:00
joshaber e93b06901e The Tale Of Two Webpacks 2016-05-24 15:00:52 -04:00
joshaber 8dc8d74fb1 Package for release or debug. 2016-05-24 14:48:10 -04:00
joshaber 9de9f2527d Fix the comment. 2016-05-24 11:08:05 -04:00
joshaber b58ebc1160 Install only the production dependencies for packaging. 2016-05-24 10:56:56 -04:00
joshaber 3613377cb4 Better TODOs 2016-05-23 15:24:09 -04:00
joshaber a18b8d3b2b Launch on Windows too 2016-05-23 15:16:40 -04:00
joshaber 5e6d0a157b Call our run script instead of using electron 2016-05-23 15:12:47 -04:00
joshaber fd86d1bbaf s/out/dist 2016-05-23 15:01:29 -04:00
joshaber 3a4eca82fc Merge branch 'master' into packaging 2016-05-23 14:34:59 -04:00
Markus Olsson 4a30b00c71 Use npm magic "env" command instead
See https://docs.npmjs.com/cli/run-script
2016-05-18 13:52:42 +02:00
joshaber 25000a1396 Note that prune should be true. 2016-05-16 17:32:55 -04:00
joshaber 4344501c67 Back to the flattened structure 2016-05-16 17:22:43 -04:00
joshaber 75fd9a3e99 Package an app. 2016-05-16 15:00:56 -04:00
joshaber 23c7b47a26 First 2016-05-11 12:16:32 -04:00