mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-02-03 02:23:38 +08:00
style: 修复ci提交信息格式
This commit is contained in:
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -40,21 +40,23 @@ jobs:
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
uses: actions/create-release@latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
Release ${{ github.ref }}
|
||||
- Add feature A
|
||||
- Fix bug B
|
||||
draft: false
|
||||
prerelease: false
|
||||
# body: |
|
||||
# Release ${{ github.ref }}
|
||||
# - Add feature A
|
||||
# - Fix bug B
|
||||
body_path: CHANGELOG.md
|
||||
## 是否为草稿、是否为预发布
|
||||
draft: true
|
||||
prerelease: true
|
||||
|
||||
- name: Upload Assets
|
||||
uses: actions/upload-release-asset@v1
|
||||
uses: actions/upload-release-asset@latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
## 利用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'
|
||||
readonly commitInfo='v%s'
|
||||
|
||||
|
||||
bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push
|
||||
Reference in New Issue
Block a user