Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 0cd8748

Browse files
fix(ci): skip release if last commit is chore(release)
1 parent 7d89dcd commit 0cd8748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"build:xcode": "pnpm build:safari && xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-prod",
3232
"build:xcode:all": "pnpm build:xcode && pnpm build:ios",
3333
"dev:xcode": "xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-dev",
34-
"release": "commit-and-tag-version"
34+
"release": "if [ 0 -eq $(git log --oneline | head -n1 | grep 'chore(release)' | wc -l) ]; then commit-and-tag-version; fi"
3535
},
3636
"dependencies": {
3737
"@plasmohq/prettier-plugin-sort-imports": "^1.1.1",

0 commit comments

Comments
 (0)