🔧 Chore: update npm scripts

This commit is contained in:
Cell
2024-04-25 17:33:25 +08:00
parent e07904b0f6
commit 7ceed732d2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.3" -}}
{{- .Scratch.Set "version" "v0.3.4-RC" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}
+1 -1
View File
@@ -24,7 +24,7 @@
"server:production": "npm run server -- -e production",
"server:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0",
"version": "sed -i '' \"s/v$npm_package_version-RC/v$npm_package_version/g\" layouts/partials/init/index.html && git add .",
"postversion": "git push && git push --tags",
"postversion": "git push && git push --tags && npm run release",
"release": "auto-changelog --config .auto-changelog/config.json"
},
"devDependencies": {