diff --git a/.github/workflows/tui.publish.yml b/.github/workflows/tui.publish.yml index 4d89170..b19e400 100644 --- a/.github/workflows/tui.publish.yml +++ b/.github/workflows/tui.publish.yml @@ -22,6 +22,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Create .env + working-directory: ./tui + run: | + echo "PUBLIC_API_URL=${{ secrets.PUBLIC_API_URL }}" >> .env + echo "PUBLIC_VERSION=${{ github.ref }}" >> .env + echo "PUBLIC_APP_NAME=Tui Documents" >> .env + - name: install dependencies (ubuntu only) if: matrix.settings.platform == 'ubuntu-22.04' # This must match the platform value defined above. run: | @@ -105,7 +112,7 @@ jobs: for asset in ./artifacts/**/*; do assets+=("$asset") done - tag_name=${{ github.ref }} + tag_name="${{ github.ref }}" gh release create "$tag_name" "${assets[@]}" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/tui/src-tauri/tauri.conf.json b/tui/src-tauri/tauri.conf.json index 62a0bad..d8fa886 100644 --- a/tui/src-tauri/tauri.conf.json +++ b/tui/src-tauri/tauri.conf.json @@ -17,7 +17,7 @@ ] }, "productName": "tui", - "version": "0.0.0", + "version": "0.0.2", "identifier": "lol.wfis.document-recognition", "plugins": {}, "app": {