From b366c7442b08d44549416f686fd2ada6de52d05e Mon Sep 17 00:00:00 2001 From: Chen Kai <281165273grape@gmail.com> Date: Wed, 28 Feb 2024 19:45:50 +0800 Subject: [PATCH] fix:fix release Signed-off-by: Chen Kai <281165273grape@gmail.com> --- .github/config/configuration.json | 64 ------------------------------- .github/workflows/release.yml | 41 +------------------- 2 files changed, 1 insertion(+), 104 deletions(-) delete mode 100644 .github/config/configuration.json diff --git a/.github/config/configuration.json b/.github/config/configuration.json deleted file mode 100644 index 09df5f7dae98..000000000000 --- a/.github/config/configuration.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "categories": [ - { - "title": "## 🚀 Features", - "labels": [ - "feat" - ] - }, - { - "title": "## 🐛 Fixes", - "labels": [ - "fix" - ] - }, - { - "title": "## 🧰 Maintenance", - "labels": [ - "chore" - ] - }, - { - "title": "## 🧪 Tests", - "labels": [ - "test" - ] - }, - { - "title": "## 🖍️ Documentation", - "labels": [ - "doc", - "docs" - ] - }, - { - "title": "## 📦 Dependencies", - "labels": [ - "deps", - "dependencies", - "chore(deps)" - ] - }, - { - "title": "## 💬 Other", - "labels": [ - "other", - "misc" - ] - } - ], - "sort": "ASC", - "template": "${{CHANGELOG}}\n\n
\nUncategorized\n\n${{UNCATEGORIZED}}\n
", - "pr_template": "${{TITLE}}", - "empty_template": "- no changes", - "label_extractor": [ - { - "pattern": "(.+): (.+)", - "target": "$1" - } - ], - "exclude_merge_branches": [ - "merge pull request", - "Merge pull request" - ] -} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ce093392b7d..1256ee163251 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,43 +51,4 @@ jobs: file: ./Dockerfile.portal push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - - - release: - name: 🚰 Release new version. - needs: push_image_to_github - runs-on: ubuntu-latest - - steps: - - name: 🛎️Check out the source code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - submodules: recursive - - - name: ⚙️Build Changelog - id: github_release - uses: mikepenz/release-changelog-builder-action@v4 - with: - configuration: ".github/config/configuration.json" - commitMode: true - ignorePreReleases: ${{ !contains(github.ref, '-') }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: ⏬Download all the build artifacts - uses: actions/download-artifact@v3 - with: - path: release-artifacts - - - name: ✨Github Release - uses: softprops/action-gh-release@v1 - with: - body: ${{ steps.github_release.outputs.changelog }} - files: | - ${{ github.workspace }}/release-artifacts/** - generate_release_notes: true - fail_on_unmatched_files: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file