Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoha000 committed Sep 23, 2023
1 parent ee3e2ac commit 91417eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,15 @@ jobs:
}
$data | ConvertTo-Json | Set-Content -Path ".tauri-updater.json"
- name: format files
run: npx -y prettier .\src-tauri\tauri.conf.json .\.tauri-updater.json --write

- name: Push updated files to main
run: |
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
npx -y prettier .\src-tauri\tauri.conf.json .\.tauri-updater.json --write
git add src-tauri\tauri.conf.json
git add .tauri-updater.json
git commit -m "Update for release ${{ steps.variables.outputs.version }}"
git push origin main
shell: bash

0 comments on commit 91417eb

Please sign in to comment.