Compare commits

..

1 Commits

Author SHA1 Message Date
Ubuntu ee0408a944 fix(ci): sync manifest version from tag before build
The release workflow was always building with the hardcoded version
from package.json (1.0.0), causing Chrome Web Store to reject uploads
because 1.0.0 equals the already-published 1.0 (trailing zeros ignored).

Added a step to extract the version from the git tag and update
package.json before the build, so the zip contains the correct version.
2026-05-23 18:56:23 +08:00
+5 -1
View File
@@ -26,7 +26,11 @@
"target": "ESNext", "target": "ESNext",
"types": ["chrome", "webextension-polyfill", "@testing-library/jest-dom", "vitest/globals"], "types": ["chrome", "webextension-polyfill", "@testing-library/jest-dom", "vitest/globals"],
"noImplicitAny": true "noImplicitAny": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
}, },
// 确保包含你的源代码目录 // 确保包含你的源代码目录
"include": [ "include": [