mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
b0e0e592b3
* chore(ci): update release workflow * chore(ci): update release-helper workflow Co-authored-by: zwlafk <zwlafk@users.noreply.github.com>
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
# Current release process:
|
|
# 1. `npm run pub` will call antd-tools `run pub`
|
|
# 2. antd-tools `run pub` will generate a new tag
|
|
# 3. antd-tools `run pub` will trigger `npm publish` at the same time
|
|
# 4. Then the new tag will trigger this current action
|
|
# 5. The action will generate a new release, and publish DingDing notification at the same time
|
|
|
|
name: Release Helper
|
|
|
|
on:
|
|
create
|
|
|
|
jobs:
|
|
release-helper:
|
|
if: github.event.ref_type == 'tag'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: make release
|
|
uses: actions-cool/release-helper@v1
|
|
with:
|
|
triger: 'tag'
|
|
changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md'
|
|
branch: 'master'
|
|
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
|
|
dingding-msg: 'CHANGELOG.zh-CN.md'
|
|
msg-poster: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ'
|
|
msg-footer: '> 💬 前往 [**Ant Design Releases**]({{url}}) 查看更新日志'
|
|
prettier: true
|
|
prerelease-filter: '-, a, b, A, B'
|