Skip to content

Commit

Permalink
fix:fix release
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Kai <281165273grape@gmail.com>
  • Loading branch information
GrapeBaBa committed Feb 28, 2024
1 parent 1caf7dd commit b366c74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 104 deletions.
64 changes: 0 additions & 64 deletions .github/config/configuration.json

This file was deleted.

41 changes: 1 addition & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit b366c74

Please sign in to comment.