Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
Fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Aug 5, 2020
1 parent da09d08 commit 01b0212
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ Gatsby Desktop is written in TypeScript. We use [microbundle](https://github.com

To debug the renderer, use [Chrome devtools](chrome://inspect/#devices) and listen to port 8315.

As of today we're not building any installer packages, but will soon.
### Release process

Great a draft release in GitHub, with the tag as the new version number prefixed with `v`, e.g. `v0.0.1-alpha.2`. Update the version number in package.json to match, and commit. Push that to master and GitHub Actions should do a build and eventually attach the packaged files to the draft release. Once the build is complete, publish the draft release.
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-desktop",
"description": "Gatsby Desktop",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"main": "lib/main.js",
"homepage": "https://www.gatsbyjs.com/",
"author": "<matt@gatsbyjs.com>",
Expand Down Expand Up @@ -63,17 +63,14 @@
"run:app": "electron --remote-debugging-port=8315 .",
"watch:app": "GATSBY_DEVELOP_URL=http://localhost:8079 yarn run:app",
"develop": "FORCE_COLOR=1 npm-run-all -l build:main --parallel watch:*",
"build": "npm-run-all --parallel build:*",
"build": "npm-run-all build:worker --parallel build:renderer build:main",
"package": "electron-builder"
},
"build": {
"productName": "Gatsby Desktop",
"appId": "com.gatsbyjs.desktop",
"copyright": "Copyright © 2020 Gatsby Inc.",
"icon": "assets/icon.png",
"publish": [
"github"
],
"files": [
"public/**/*",
"lib/**/*",
Expand All @@ -84,6 +81,11 @@
"target": "dmg",
"category": "public.app-category.developer-tools"
},
"snap": {
"publish": [
"github"
]
},
"dmg": {
"background": "assets/background.png"
}
Expand Down

0 comments on commit 01b0212

Please sign in to comment.