From 7ceed732d2c8da48d62f7d7ec11c031016810e8f Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 25 Apr 2024 17:33:25 +0800 Subject: [PATCH] :wrench: Chore: update npm scripts --- layouts/partials/init/index.html | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 53375c01..ac144cd7 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -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" . -}} diff --git a/package.json b/package.json index 6a83d115..bc0784fc 100644 --- a/package.json +++ b/package.json @@ -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": {