Skip to content

Commit

Permalink
add forge publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Jan 25, 2024
1 parent 3672620 commit db2638d
Show file tree
Hide file tree
Showing 7 changed files with 489 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
.next
.DS_Store
main
.env
13 changes: 13 additions & 0 deletions hostd/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,17 @@ module.exports = {
config: {},
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'SiaFoundation',
name: 'desktop',
},
prerelease: false,
draft: true,
},
},
],
}
228 changes: 228 additions & 0 deletions hostd/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion hostd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"type-check": "tsc -p ./renderer/tsconfig.json && tsc -p ./electron-src/tsconfig.json",
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make"
"make": "electron-forge make",
"publish": "electron-forge publish"
},
"dependencies": {
"@fastify/deepmerge": "^1.3.0",
Expand Down Expand Up @@ -46,6 +47,7 @@
"@electron-forge/maker-squirrel": "^7.2.0",
"@electron-forge/maker-zip": "^7.2.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
"@electron-forge/publisher-github": "^7.2.0",
"@types/adm-zip": "^0.5.5",
"@types/js-yaml": "^4.0.9",
"@types/node": "18.15.11",
Expand Down
13 changes: 13 additions & 0 deletions renterd/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,17 @@ module.exports = {
config: {},
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'SiaFoundation',
name: 'desktop',
},
prerelease: false,
draft: true,
},
},
],
}
Loading

0 comments on commit db2638d

Please sign in to comment.