build(version): 添加changelog配置及脚本

This commit is contained in:
李东云
2023-01-14 01:12:48 +08:00
parent 82e257f7b4
commit 3bc4e275a7
3 changed files with 10 additions and 1 deletions

View File

@@ -30,6 +30,10 @@
"type": "perf", "type": "perf",
"section": "⚡ Performance Improvements | 性能优化" "section": "⚡ Performance Improvements | 性能优化"
}, },
{
"type": "tests",
"section": "✅ Tests | 测试"
},
{ {
"type": "test", "type": "test",
"section": "✅ Tests | 测试" "section": "✅ Tests | 测试"
@@ -53,7 +57,7 @@
], ],
"bumpFiles": [ "bumpFiles": [
{ {
"filename": "MY_VERSION_TRACKER.txt", "filename": "VERSION_TRACKER.txt",
"type": "plain-text" "type": "plain-text"
}, },
{ {

0
VERSION_TRACKER.txt Normal file
View File

5
scripts/release.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env sh
docker run --rm -it \
-v $(pwd):/app -e "GIT_AUTHOR_NAME=ch4o5" -e "EMAIL=dongyun.li@luxcreo.ai" \
detouched/standard-version:latest $1