From bb886fc74aa7c06277bc8a46cd733626a27455f8 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 12 Aug 2021 20:09:02 +0800 Subject: [PATCH] chore: remove .github/workflows/release.yml --- .github/workflows/ci.yml | 4 +-- .github/workflows/release.yml | 55 ----------------------------------- 2 files changed, 2 insertions(+), 57 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1819166825..c81f1852e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,10 +50,10 @@ jobs: name: ${{ steps.create_tag.outputs.version }} tag: ${{ steps.create_tag.outputs.version }} body: | - [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.changelog.outputs.version}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/linux-command)](https://bundlephobia.com/result?p=linux-command@${{steps.changelog.outputs.version}}) + [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/linux-command)](https://bundlephobia.com/result?p=linux-command@${{steps.create_tag.outputs.versionNumber}}) ```bash - npm i linux-command@${{steps.changelog.outputs.version}} + npm i linux-command@${{steps.create_tag.outputs.versionNumber}} ``` ${{ steps.changelog.outputs.compareurl }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a9f047dfcb..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Create Release -on: - push: - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v0.4.4 - -jobs: - test: - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 14 - - - name: Generate Changelog - id: changelog - uses: jaywcjlove/changelog-generator@v1.4.3 - with: - token: ${{ secrets.GITHUB_TOKEN }} - filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot) - filter: (^[\s]+?[R|r]elease)|(^[R|r]elease) - - - - run: npm install - - run: npm run build - - - run: npm install @jsdevtools/npm-publish -g - - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json - - - run: npm run dash - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./.deploy - - - name: Create Release - uses: ncipollo/release-action@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: ${{ steps.changelog.outputs.tag }} - tag: ${{ steps.changelog.outputs.tag }} - body: | - [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/linux-command@${{steps.changelog.outputs.version}}/file/README.md) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/linux-command)](https://bundlephobia.com/result?p=linux-command@${{steps.changelog.outputs.version}}) - - ```bash - npm i linux-command@${{steps.changelog.outputs.version}} - ``` - - ${{ steps.changelog.outputs.compareurl }} - - ${{ steps.changelog.outputs.changelog }} \ No newline at end of file