Commit 56c7a4e
authored
fix: use git tag for release version instead of hardcoded config (#14)
The release workflow used tagName: v__VERSION__ which resolved to the
version in tauri.conf.json (0.1.0) regardless of the actual tag pushed.
This caused artifacts to be uploaded to the wrong release.
Changes:
- Use ${{ github.ref_name }} for tagName/releaseName so the release
matches the pushed tag
- Add version-sync step to update tauri.conf.json and Cargo.toml from
the git tag before building, so binary version matches the release
- Guard TAURI_SIGNING_PRIVATE_KEY with || '' to prevent build failures
when the secret is unset1 parent 2c7557a commit 56c7a4e
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
36 | 49 | | |
37 | 50 | | |
38 | 51 | | |
| |||
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
106 | 119 | | |
107 | | - | |
108 | | - | |
| 120 | + | |
| 121 | + | |
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
| |||
0 commit comments