Skip to content

Commit

Permalink
add CHNAGELOG for released GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
fwqaaq committed Aug 6, 2023
1 parent 039ded4 commit 6025372
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/release_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,26 @@ on:
- v_gui.*

jobs:
create_release:
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.changelog_reader.outputs.changes }}
version: ${{ steps.changelog_reader.outputs.VERSION }}
steps:
- uses: actions/checkout@v3
- name: Get version number
run: |
VERSION=${{github.ref_name}}
echo "VERSION=${VERSION/v_gui\./}" >> $GITHUB_ENV
- name: Changelog Reader
id: changelog_reader
uses: mindsers/[email protected]
with:
path: './crates/gui/CHANGELOG.md'
version: ${{ env.VERSION }}

build_seam:
needs: create_release
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
Expand Down Expand Up @@ -38,8 +57,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: 'crates/gui'
tagName: ${{ github.ref_name }}
releaseName: 'Seam ${{ github.ref_name }}'
releaseBody: 'See the assets to download this version and install.'
tagName: ${{ needs.create_release.outputs.version }}
releaseName: 'Seam ${{ needs.create_release.outputs.version }}'
releaseBody: '${{ needs.create_release.outputs.changes }}}}'
releaseDraft: false
prerelease: false

0 comments on commit 6025372

Please sign in to comment.