From 9abdcfa26d16866bc5b5fa4d79f678be216cb224 Mon Sep 17 00:00:00 2001 From: Eric Harris-Braun Date: Fri, 14 Jun 2024 15:44:11 -0400 Subject: [PATCH] more build fixes --- .github/workflows/release-tauri-app.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-tauri-app.yaml b/.github/workflows/release-tauri-app.yaml index 0944044f..3e9533d1 100644 --- a/.github/workflows/release-tauri-app.yaml +++ b/.github/workflows/release-tauri-app.yaml @@ -58,6 +58,7 @@ jobs: draft: true release-tauri-app: + needs: publish-happ strategy: fail-fast: false matrix: @@ -111,6 +112,11 @@ jobs: run: | npm install + - name: Retrieve version + run: | + echo "APP_VERSION=$(cat src-tauri/tauri.conf.json | grep -oP '(?<="version": ")[^"]*')" + id: version-also + - name: Print version run: | echo "The Version was: ${{ needs.publish-happ.outputs.appVersion }}" @@ -124,7 +130,7 @@ jobs: with: repository: "holochain-apps/volla-chat" token: ${{ secrets.GITHUB_TOKEN }} - version: v0.0.1-dev.3 + version: v${{ steps.version-also.outputs.APP_VERSION }} asset-file: '*.happ' asset-output: 'workdir/'