🔧 Chore: add auto update version script

This commit is contained in:
Cell
2023-03-31 22:22:38 +08:00
parent 566c2238a2
commit 80ae5003f7
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
tag-version-prefix="v"
message=":bookmark: Chore(release): %s"
+2 -2
View File
@@ -46,7 +46,7 @@ All notable changes to this project will be documented in this file.
- Update typeit from 8.7.0 to 8.7.1
- Update mermaid from 9.1.7 to 9.4.3
- Update Artalk from 2.3.4 to 2.5.2
- **Full Changelog:** @Lruihao [`v0.2.16...v0.2.17`](https://github.com/hugo-fixit/FixIt/compare/v0.2.16...v0.2.17)
- **Full Changelog:** @Lruihao [`v0.2.17...v0.2.18`](https://github.com/hugo-fixit/FixIt/compare/v0.2.17...v0.2.18)
## v0.2.17 [2023.1.29]
@@ -91,7 +91,7 @@ All notable changes to this project will be documented in this file.
- Bump @babel/core from 7.20.12 to 7.21.4
- Bump @babel/preset-env from 7.20.2 to 7.21.4
- Bump core-js from 3.27.2 to 3.29.1
- **Full Changelog:** @Lruihao [`v0.2.17...v0.2.18`](https://github.com/hugo-fixit/FixIt/compare/v0.2.17...v0.2.18)
- **Full Changelog:** @Lruihao [`v0.2.16...v0.2.17`](https://github.com/hugo-fixit/FixIt/compare/v0.2.16...v0.2.17)
## v0.2.16 [2022.9.24]
+3 -1
View File
@@ -22,7 +22,9 @@
"start": "npm run babel && npm run server",
"start:production": "npm run babel && npm run server:production",
"algolia": "atomic-algolia",
"update:docs": "git submodule update --remote --merge && git add docs && git commit -m ':memo: Docs: update theme docs'"
"update:docs": "git submodule update --remote --merge && git add docs && git commit -m ':memo: Docs: update theme docs'",
"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"
},
"repository": {
"type": "git",