feat: add updater

This commit is contained in:
rzmk 2024-02-20 13:09:51 -05:00
parent 9f463f658f
commit 5db40d07a5
No known key found for this signature in database
2 changed files with 12 additions and 6 deletions

View file

@ -5,9 +5,9 @@ on:
tags:
- "*"
workflow_dispatch:
# This is the example from the readme.
# On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release.
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
jobs:
publish-tauri:
@ -17,8 +17,6 @@ jobs:
fail-fast: false
matrix:
settings:
# - platform: "macos-latest"
# args: "--target universal-apple-darwin"
- platform: "macos-latest"
args: "--target x86_64-apple-darwin"
- platform: "macos-latest"
@ -59,7 +57,7 @@ jobs:
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
releaseBody: "See the assets to download this version of fformat and install."
releaseBody: "Learn about this release at https://github.com/rzmk/fformat/releases"
releaseDraft: true
prerelease: false
args: ${{ matrix.settings.args }}