This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree 11 files changed +472
-64
lines changed
11 files changed +472
-64
lines changed Original file line number Diff line number Diff line change 6
6
7
7
| Version | Security Fixes Until |
8
8
| ------- | -------------------- |
9
- | 1.0.0 | August 14th , 2024 |
9
+ | 1.0.0 | August 17th , 2024 |
10
10
11
11
## Reporting a Vulnerability
12
12
Original file line number Diff line number Diff line change
1
+ name : dependabot-auto-merge
2
+ on : pull_request_target
3
+
4
+ permissions :
5
+ pull-requests : write
6
+ contents : write
7
+
8
+ jobs :
9
+ dependabot :
10
+ runs-on : ubuntu-latest
11
+ if : ${{ github.actor == 'dependabot[bot]' }}
12
+ steps :
13
+ - name : Dependabot metadata
14
+ id : metadata
15
+ uses :
dependabot/[email protected]
16
+ with :
17
+ github-token : ' ${{ secrets.GH_TOKEN }}'
18
+ compat-lookup : true
19
+
20
+ - name : Auto-merge Dependabot PRs for semver-minor updates
21
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
22
+ run : gh pr merge --auto --merge "$PR_URL"
23
+ env :
24
+ PR_URL : ${{github.event.pull_request.html_url}}
25
+ GITHUB_TOKEN : ${{secrets.GH_TOKEN}}
26
+
27
+ - name : Auto-merge Dependabot PRs for semver-patch updates
28
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
29
+ run : gh pr merge --auto --merge "$PR_URL"
30
+ env :
31
+ PR_URL : ${{github.event.pull_request.html_url}}
32
+ GITHUB_TOKEN : ${{secrets.GH_TOKEN}}
33
+
34
+ - name : Auto-merge Dependabot PRs for Action major versions when compatibility is higher than 90%
35
+ if : ${{steps.metadata.outputs.package-ecosystem == 'github_actions' && steps.metadata.outputs.update-type == 'version-update:semver-major' && steps.metadata.outputs.compatibility-score >= 90}}
36
+ run : gh pr merge --auto --merge "$PR_URL"
37
+ env :
38
+ PR_URL : ${{github.event.pull_request.html_url}}
39
+ GH_TOKEN : ${{secrets.GH_TOKEN}}
Original file line number Diff line number Diff line change
1
+ name : Build and Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*.*.*'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ os : [ubuntu-latest, windows-latest, macos-latest]
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Set up Node.js
20
+ uses : actions/setup-node@v2
21
+ with :
22
+ node-version : ' 18'
23
+
24
+ - name : Install dependencies
25
+ run : npm install
26
+
27
+ - name : Build the app
28
+ run : npm run make
29
+
30
+ - name : Upload Release Asset
31
+ uses : actions/upload-artifact@v2
32
+ with :
33
+ name : comet-${{ matrix.os }}
34
+ path : out/make/${{ matrix.os }}/*.*
35
+
36
+ release :
37
+ needs : build
38
+ runs-on : ubuntu-latest
39
+ steps :
40
+ - name : Create GitHub Release
41
+ id : create_release
42
+ uses : actions/create-release@v1
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
45
+ with :
46
+ tag_name : ${{ github.ref }}
47
+ release_name : Release ${{ github.ref }}
48
+ draft : false
49
+ prerelease : false
50
+
51
+ - name : Upload Release Assets
52
+ uses : actions/upload-release-asset@v1
53
+ env :
54
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
55
+ with :
56
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
57
+ asset_path : out/make/*.*
58
+ asset_name : comet-${{ matrix.os }}-${{ github.sha }}.zip
59
+ asset_content_type : application/zip
Original file line number Diff line number Diff line change
1
+ name : ' Update Changelog'
2
+
3
+ on :
4
+ release :
5
+ types : [released]
6
+
7
+ jobs :
8
+ update :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v4
14
+ with :
15
+ ref : main
16
+ token : ${{ secrets.GH_TOKEN }}
17
+
18
+ - name : Update Changelog
19
+ uses : stefanzweifel/changelog-updater-action@v1
20
+ with :
21
+ latest-version : ${{ github.event.release.name }}
22
+ release-notes : ${{ github.event.release.body }}
23
+
24
+ - name : Commit updated CHANGELOG
25
+ uses : stefanzweifel/git-auto-commit-action@v5
26
+ with :
27
+ branch : main
28
+ commit_message : Update CHANGELOG
29
+ file_pattern : CHANGELOG.md
Original file line number Diff line number Diff line change
1
+ # Release Notes
2
+
3
+ ## [ Unreleased] ( https://github.com/Thavarshan/filterable/compare/v1.0.0...HEAD )
4
+
5
+ ## v1.0.0 - 2024-08-17
6
+
7
+ Initial release.
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { MakerRpm } from '@electron-forge/maker-rpm';
6
6
import { VitePlugin } from '@electron-forge/plugin-vite' ;
7
7
import { FusesPlugin } from '@electron-forge/plugin-fuses' ;
8
8
import { FuseV1Options , FuseVersion } from '@electron/fuses' ;
9
+ import { PublisherGithub } from '@electron-forge/publisher-github' ;
9
10
10
11
const config : ForgeConfig = {
11
12
packagerConfig : {
@@ -25,18 +26,17 @@ const config: ForgeConfig = {
25
26
} ,
26
27
rebuildConfig : { } ,
27
28
makers : [
28
- new MakerSquirrel ( { } ) ,
29
+ new MakerSquirrel ( {
30
+ certificateFile : './cert.pfx' ,
31
+ certificatePassword : process . env . CERTIFICATE_PASSWORD
32
+ } ) ,
29
33
new MakerZIP ( { } , [ 'darwin' ] ) ,
30
34
new MakerRpm ( { } ) ,
31
- new MakerDeb ( { } ) ,
32
- {
33
- name : '@electron-forge/maker-deb' ,
34
- config : {
35
- options : {
36
- icon : 'src/assets/images/icon/icon.png' ,
37
- }
35
+ new MakerDeb ( {
36
+ options : {
37
+ icon : 'src/assets/images/icon/icon.png' ,
38
38
}
39
- }
39
+ } ) ,
40
40
] ,
41
41
plugins : [
42
42
new VitePlugin ( {
@@ -67,6 +67,15 @@ const config: ForgeConfig = {
67
67
[ FuseV1Options . OnlyLoadAppFromAsar ] : true ,
68
68
} ) ,
69
69
] ,
70
+ publishers : [
71
+ new PublisherGithub ( {
72
+ repository : {
73
+ owner : 'thavarshan' ,
74
+ name : 'comet' ,
75
+ } ,
76
+ prerelease : true ,
77
+ } )
78
+ ]
70
79
} ;
71
80
72
81
export default config ;
You can’t perform that action at this time.
0 commit comments