Skip to content

Commit

Permalink
feat: add github publish process
Browse files Browse the repository at this point in the history
  • Loading branch information
Lsnsh committed Feb 25, 2024
1 parent f2a3aa1 commit a30e5f6
Show file tree
Hide file tree
Showing 4 changed files with 273 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## first-electron-app
13 changes: 13 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ module.exports = {
packagerConfig: {
asar: true,
},
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'Lsnsh',
name: 'first-electron-app',
},
prerelease: false,
draft: true,
},
},
],
rebuildConfig: {},
makers: [
{
Expand Down
256 changes: 254 additions & 2 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "first-electron-app",
"version": "1.0.0",
"version": "0.0.1",
"description": "",
"main": "main.js",
"scripts": {
"start": "electron-forge start",
"test": "echo \"Error: no test specified\" && exit 1",
"package": "electron-forge package",
"make": "electron-forge make"
"make": "electron-forge make",
"publish": "electron-forge publish"
},
"keywords": [],
"author": "",
Expand All @@ -20,9 +21,10 @@
"@electron-forge/maker-zip": "^7.3.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.3.0",
"@electron-forge/plugin-fuses": "^7.3.0",
"@electron-forge/publisher-github": "^7.3.0",
"electron": "^29.0.1"
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0"
}
}
}

0 comments on commit a30e5f6

Please sign in to comment.