diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..7dba618d --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +tag-version-prefix="v" +message=":bookmark: Chore(release): %s" \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 29828a2d..638a68c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/package.json b/package.json index 6a19f632..3cf90530 100644 --- a/package.json +++ b/package.json @@ -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",