Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14e940b

Browse files
committed
fix: Linux sig 패턴 수정 — Tauri v2는 .AppImage.sig 생성
Tauri v2 AppImage 업데이터는 .AppImage.tar.gz.sig 가 아닌 .AppImage.sig 를 직접 생성한다. 업로드 단계와 latest.json URL 을 이에 맞게 수정.
1 parent 82c735f commit 14e940b

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)