Skip to content

Commit

Permalink
chore: 移除 semantic-release (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Nov 12, 2021
1 parent 5449ce0 commit dca43b6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 90 deletions.
69 changes: 0 additions & 69 deletions .github/workflows/auto-release.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: DingTalk Release Notify

on:
workflow_dispatch:
release:
types: [published, edited]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: visiky/dingtalk-release-notify@main
with:
DING_TALK_TOKEN: ${{ secrets.DING_TALK_TOKENS}}
notify_title: '🎉 G2Plot 发布 release {release_tag} 🎉'
notify_body: '## { title }<hr /> ![](https://gw.alipayobjects.com/zos/antfincdn/AdgOtrq%26KF/G2Plot.png) <hr /> { body } <hr />'
notify_footer: '> 前往 [**G2Plot Releases**]({ release_url }) 查看完整信息.'
at_all: false
17 changes: 0 additions & 17 deletions .releaserc.js

This file was deleted.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
},
"scripts": {
"start": "npm run site:clean && npm run site:develop",
"release": "semantic-release",
"site:develop": "cross-env PORT=8080 gatsby develop --open -H 0.0.0.0",
"site:build": "NODE_OPTIONS=--max_old_space_size=8192 npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
Expand Down Expand Up @@ -74,8 +73,6 @@
"@babel/runtime": "^7.11.2",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
Expand Down Expand Up @@ -107,7 +104,6 @@
"react-dom": "^16.11.0",
"react-i18next": "^11.7.0",
"rimraf": "^3.0.0",
"semantic-release": "^18.0.0",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.0",
"typescript": "^3.5.3",
Expand Down

0 comments on commit dca43b6

Please sign in to comment.