1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-02-03 02:23:38 +08:00
Files
408CSFamily/scripts/release
mmdapl 3271b1799a chore(version): update ci (#40)
* style: test

* style: 忽略node_modules

* style: 新增read权限测试

---------

Co-authored-by: chu fan <fairy_408@2925.com>
2023-09-08 14:00:13 +08:00

15 lines
453 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
##
## 版本发布脚本
## 链接https://jstools.dev/version-bump-prompt/
## 使用: ./scripts/release
##
## 利用commit-and-tag-version生成changelog文档并跳过commit、tag操作
readonly generateChangeLog='pnpm commit-and-tag-version && git add CHANGELOG.md'
## git提交信息
readonly commitInfo='chore(release): publish v%s'
bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push