Skip to content

Commit 44a1ac0

Browse files
authored
tauri 2 (#51)
* initial upgrade * wip * wip dependency upgrade * upgrade svelte and sveltekit * add versions to svelte output * fix isTauri check * update tauri roundedness * update capabilities for tauri v2 * tauri v2 upgrade stuff * v2 wants gen schema files * reinstate icons * show a message while sync is happening since it can take a while * support dragging window * add more plugins * add plugins * update plugins * do not sohw tauri version on web
1 parent c6c4821 commit 44a1ac0

29 files changed

+13995
-7663
lines changed

.github/workflows/main.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ jobs:
5353
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
5454
run: pnpm install # Change this to npm, yarn or pnpm.
5555

56-
- name: Populate the verson string
57-
id: git_version # ID for the step, to be referred to later
58-
run: echo "PUBLIC_VERSION_STRING=$(git describe --tags --always --dirty)" >> $GITHUB_ENV
56+
- name: Populate the version strings
57+
id: versions
58+
run: |
59+
echo "PUBLIC_VERSION_STRING=$(git describe --tags --always --dirty)" >> $GITHUB_ENV
60+
echo "PUBLIC_TAURI_VERSION=$(pnpm tsx scripts/get-versions.ts | grep PUBLIC_TAURI_VERSION | cut -d= -f2)" >> $GITHUB_ENV
61+
echo "PUBLIC_SVELTE_VERSION=$(pnpm tsx scripts/get-versions.ts | grep PUBLIC_SVELTE_VERSION | cut -d= -f2)" >> $GITHUB_ENV
5962
6063
- name: Build the app
6164
uses: tauri-apps/tauri-action@v0
@@ -65,6 +68,9 @@ jobs:
6568
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
6669
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
6770
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
71+
PUBLIC_VERSION_STRING: ${{ env.PUBLIC_VERSION_STRING }}
72+
PUBLIC_TAURI_VERSION: ${{ env.PUBLIC_TAURI_VERSION }}
73+
PUBLIC_SVELTE_VERSION: ${{ env.PUBLIC_SVELTE_VERSION }}
6874
with:
6975
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
7076
releaseName: "Prompta v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.

0 commit comments

Comments
 (0)