From 3bc4e275a761bf71bb0ca227770b82c3d5ec76bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Sat, 14 Jan 2023 01:12:48 +0800 Subject: [PATCH] =?UTF-8?q?build(version):=20=E6=B7=BB=E5=8A=A0changelog?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=8F=8A=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versionrc | 6 +++++- VERSION_TRACKER.txt | 0 scripts/release.sh | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 VERSION_TRACKER.txt create mode 100755 scripts/release.sh diff --git a/.versionrc b/.versionrc index 19673ca..017437c 100644 --- a/.versionrc +++ b/.versionrc @@ -30,6 +30,10 @@ "type": "perf", "section": "⚡ Performance Improvements | 性能优化" }, + { + "type": "tests", + "section": "✅ Tests | 测试" + }, { "type": "test", "section": "✅ Tests | 测试" @@ -53,7 +57,7 @@ ], "bumpFiles": [ { - "filename": "MY_VERSION_TRACKER.txt", + "filename": "VERSION_TRACKER.txt", "type": "plain-text" }, { diff --git a/VERSION_TRACKER.txt b/VERSION_TRACKER.txt new file mode 100644 index 0000000..e69de29 diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 0000000..0de2140 --- /dev/null +++ b/scripts/release.sh @@ -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