Skip to content

Update release workflow for proper changelogs #9

Update release workflow for proper changelogs

Update release workflow for proper changelogs #9

Workflow file for this run

name: Release
on:
push:
tags: ['release']
permissions:
contents: write
jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit
changelog:
name: Changelog
runs-on: ubuntu-22.04
outputs:
changelog: ${{ steps.changelog.outputs.changelog }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
commitMode: true
failOnError: true
release:
name: Release
needs: [test, changelog]
uses: ./.github/workflows/build-tauri-app.yml
with:
tagName: v__VERSION__
releaseName: Resolute v__VERSION__
releaseBody: ${{ needs.changelog.outputs.changelog }}
releaseDraft: true
includeUpdaterJson: true
updaterJsonPreferNsis: true
secrets:
updaterKey: ${{ secrets.TAURI_UPDATER_KEY }}
updaterKeyPassword: ${{ secrets.TAURI_UPDATER_KEY_PASSWORD }}