Files
hdk/scripts/release.sh
2023-01-16 23:01:05 +08:00

9 lines
322 B
Bash
Executable File

#!/usr/bin/env sh
docker run --rm -it \
-v $(pwd):/app -e "GIT_AUTHOR_NAME=$(git config --global --get user.name)" -e "EMAIL=$(git config --global --get user.email)" \
detouched/standard-version:latest $1
# 支持的参数
# 1. 不传参数,直接发布 patch
# 2. 指定版本 ./scripts/release.sh -- -r 9.9.9