Skip to content

Commit f371d53

Browse files
committed
fix(release): prevent release script from failing on clean working tree
1 parent d196c04 commit f371d53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "react-aes",
33
"private": true,
4-
"version": "0.0.1",
4+
"version": "1.0.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
99
"build:version": "vite build",
1010
"release:version": "standard-version",
11-
"release": "pnpm release:version && git push --follow-tags origin main && pnpm build:version && git add . && git commit -m \"chore: build output\" && git push origin main",
11+
"release": "pnpm release:version && git push --follow-tags origin main && pnpm build:version && git add . && git diff --quiet || git commit -m \"chore: build output\" && git push origin main",
1212
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
1313
"preview": "vite preview"
1414
},

0 commit comments

Comments
 (0)