Skip to content

Commit

Permalink
Fix for package > version
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyTech6 committed Dec 6, 2024
1 parent 690bef9 commit e74ae5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ jobs:
$content = $content -replace "latest", "${{ env.GitVersion_SemVer }}"
Set-Content CHANGELOG.md -Value $content
shell: pwsh

- name: Update Tauri Config Version
run: |
$content = Get-Content src-tauri/tauri.conf.json -Raw
$content = $content -replace '"version": "0.0.0"', "`"version`": `"${{ env.GitVersion_SemVer }}`""
Set-Content src-tauri/tauri.conf.json -Value $content
shell: pwsh

- name: Build Tauri app
uses: tauri-apps/tauri-action@v0
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "jsonrising",
"version": "${PACKAGE_VERSION}",
"version": "0.0.0",
"identifier": "com.jsonrising.app",
"build": {
"beforeDevCommand": "dotnet watch run --project src/JSONRising.csproj",
Expand Down

0 comments on commit e74ae5a

Please sign in to comment.