# 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 permissions: contents: read jobs: release-helper: permissions: contents: write # for actions-cool/release-helper to create releases if: github.event.ref_type == 'tag' runs-on: ubuntu-latest steps: - name: release antd uses: actions-cool/release-helper@v2 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' dingding-delay-minute: 10 msg-title: '# Ant Design {{v}} 发布ζ—₯εΏ—' 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' - name: release bigfish uses: actions-cool/release-helper@v2 with: triger: 'tag' changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md' branch: 'master' dingding-token: ${{ secrets.DINGDING_BOT_BIGFISH_TOKEN }} dingding-msg: 'CHANGELOG.zh-CN.md' dingding-delay-minute: 10 antd-conch-msg: '🐟 当前 Bigfish ε†…ε΅Œ antd η‰ˆζœ¬οΌš' msg-title: '# Ant Design {{v}} 发布ζ—₯εΏ—' 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'