Skip to content

Commit

Permalink
ci: add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Jul 25, 2024
1 parent 0c17831 commit 6476864
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 401 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/release-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
tags:
- '*'
workflow_dispatch:

jobs:
release:
Expand Down Expand Up @@ -49,12 +48,27 @@ jobs:
- name: Install frontend dependencies
run: npm ci

- name: Build the app
- name: Update CHANGELOG
id: changelog
uses: requarks/[email protected]
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: Create Github Release
uses: tauri-apps/[email protected]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
releaseName: 'Bluetooth Battery Monitor v__VERSION__'
releaseBody: ${{ steps.changelog.outputs.changes }}
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
prerelease: false

- name: Commit CHANGELOG.md
uses: stefanzweifel/[email protected]
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md
Loading

0 comments on commit 6476864

Please sign in to comment.