Skip to content

Commit 571cb56

Browse files
committed
chore(sbom): upload cyclonedx
1 parent 39fbcc4 commit 571cb56

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/scans.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
release:
8-
types:
9-
- published
7+
tags:
8+
- 'v*'
109

1110
permissions:
1211
actions: read

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"publish:minor": "npm version minor --allow-same-version -m v%s --force",
2525
"publish:major": "npm version major --allow-same-version -m v%s --force",
2626
"publish:patch": "npm version patch --allow-same-version -m v%s --force",
27-
"postversion": "git add . && git push --follow-tags && git push --tags",
27+
"postversion": "git push origin main --tags",
2828
"build": "rm -rf out && rm -rf dist && npm run typecheck && electron-vite build",
2929
"build:w": "del /s /q out && del /s /q dist && npm run typecheck && electron-vite build",
3030
"postinstall": "electron-builder install-app-deps",

0 commit comments

Comments
 (0)