Skip to content

Commit

Permalink
ci: add wix version in conf too
Browse files Browse the repository at this point in the history
  • Loading branch information
shanimal08 committed Nov 25, 2024
1 parent 04186b7 commit 1e8565b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/beta_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
yq eval ".productName = \"Tari Universe ${{ env.BETA_STRING }}\"" -i tauri.conf.json
yq eval ".mainBinaryName = \"Tari Universe ${{ env.BETA_STRING }}\"" -i tauri.conf.json
yq eval ".version += \"-${BETA_DATE}\"" -i tauri.conf.json
yq eval ".bundle.windows.wix.version += \".${BETA_DATE}\"" -i tauri.conf.json
yq eval ".app.windows[0].title = \"Tari Universe ${{ env.BETA_STRING }} | Testnet\"" -i tauri.conf.json
yq eval ".identifier = \"com.tari.universe.beta\"" -i tauri.conf.json
yq eval ".plugins.updater.endpoints = [\"https://raw.githubusercontent.com/tari-project/universe/${{ env.BETA_BRANCH_NAME }}/.updater/beta-latest.json\"]" \
Expand Down Expand Up @@ -211,10 +212,9 @@ jobs:

- name: Debug step {artifactPaths}
continue-on-error: true
env:
artifactPaths: ${{ steps.build.outputs.artifactPaths }}
shell: bash
run: echo "Artifact ID from previous job is ${{ env.artifactPaths }}"
run: |
echo "Artifact paths:\n ${{ join(fromJSON(steps.build.outputs.artifactPaths), '\n') }}"
- name: Upload BETA releases
if: ${{ (steps.build.outputs.artifactPaths) && ( github.event_name == 'schedule' ) || ( ! startsWith(github.ref, 'refs/heads/release') ) }}
Expand Down
7 changes: 6 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
"shortDescription": "Tari Universe is a mining app for Tari.",
"longDescription": "Introducing Tari Universe, the beautifully simple mining app for Tari. Install it on your Mac or PC and start mining Tari with one click.",
"publisher": "Tari Labs, LLC",
"createUpdaterArtifacts": true
"createUpdaterArtifacts": true,
"windows": {
"wix": {
"version": "0.7.7"
}
}
},
"productName": "Tari Universe (Alpha)",
"mainBinaryName": "Tari Universe (Alpha)",
Expand Down

0 comments on commit 1e8565b

Please sign in to comment.