Skip to content

Commit

Permalink
chore: 更新发布通知
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Dec 13, 2024
1 parent c38e65a commit bbd46e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 66 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/prerelease-notify.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# published: latest release 和 pre release 都会触发
# prereleased: 只有 pre release 触发
# released: 只有 latest release 触发
types: [released]
types: [published]

jobs:
notify:
Expand All @@ -20,7 +20,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🎉 AntV/S2 新版本发布啦 (${{ github.head_ref || github.ref_name }}) 🎉",
"title": "🎉 ${{ github.head_ref || github.ref_name || 'AntV/S2 新版本' }} 发布啦 🎉",
"text": "📋 点击查看更新日志",
"messageUrl": "https://github.com/antvis/S2/releases",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
Expand All @@ -36,7 +36,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🎉 AntV/S2 新版本发布啦 🎉",
"title": "🎉 ${{ github.head_ref || github.ref_name || 'AntV/S2 新版本' }} 发布啦 🎉",
"text": "📋 点击查看更新日志",
"messageUrl": "https://github.com/antvis/S2/releases",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
Expand All @@ -52,7 +52,7 @@ jobs:
{
"msgtype": "link",
"link": {
"title": "🎉 AntV/S2 新版本发布啦 🎉",
"title": "🎉 ${{ github.head_ref || github.ref_name || 'AntV/S2 新版本' }} 发布啦 🎉",
"text": "📋 点击查看更新日志",
"messageUrl": "https://github.com/antvis/S2/releases",
"picUrl": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"build:umd": "pnpm -r --filter './packages/*' --stream build:umd",
"build:size-limit": "pnpm -r --filter './packages/*' --stream build:size-limit",
"build:size-limit-json": "pnpm -r --filter './packages/*' --stream build:size-limit-json",
"release": "pnpm -r --filter !@antv/s2-site --workspace-concurrency=1 exec npx --no-install semantic-release",
"release": "pnpm -r --filter !@antv/s2-site --filter !@antv/s2-vue --workspace-concurrency=1 exec npx --no-install semantic-release",
"release:preview": "pnpm release --dry-run --no-ci",
"release:bump-version": "node ./scripts/bump-version.js",
"test": "pnpm -r --filter './packages/*' --stream test",
Expand Down

0 comments on commit bbd46e7

Please sign in to comment.