File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,16 +213,12 @@ jobs:
213213 tag="${{ github.ref_name }}"
214214 repo="${{ github.repository }}"
215215
216- echo "=== Bundle directory contents ==="
217- find src-tauri/target/release/bundle -type f | sort
218-
216+ # Tauri v2 AppImage: *.AppImage + *.AppImage.sig (NOT .tar.gz.sig)
219217 appimage=$(find src-tauri/target/release/bundle -name "*.AppImage" ! -name "*.tar.gz" | head -1)
220- tar_gz=$(find src-tauri/target/release/bundle -name "*.AppImage.tar.gz" | head -1)
221- sig=$(find src-tauri/target/release/bundle -name "*.AppImage.tar.gz.sig" | head -1)
218+ sig=$(find src-tauri/target/release/bundle -name "*.AppImage.sig" ! -name "*.tar.gz.sig" | head -1)
222219
223220 [ -n "$appimage" ] && gh release upload "$tag" "$appimage" --repo "$repo" --clobber
224- [ -n "$tar_gz" ] && gh release upload "$tag" "$tar_gz" --repo "$repo" --clobber
225- if [ -z "$sig" ]; then echo "ERROR: *.AppImage.tar.gz.sig not found"; exit 1; fi
221+ if [ -z "$sig" ]; then echo "ERROR: *.AppImage.sig not found"; exit 1; fi
226222 cp "$sig" linux.sig
227223 echo "sig saved: $(head -1 linux.sig)"
228224
@@ -283,7 +279,7 @@ jobs:
283279 },
284280 "linux-x86_64": {
285281 "signature": lin_sig,
286- "url": f"https://github.com/{repo}/releases/download/{tag}/topica_{ver}_amd64.AppImage.tar.gz "
282+ "url": f"https://github.com/{repo}/releases/download/{tag}/topica_{ver}_amd64.AppImage"
287283 }
288284 }
289285 }
You can’t perform that action at this time.
0 commit comments