@@ -169,13 +169,15 @@ jobs:
169169 name : desktop-${{ matrix.target }}
170170 path : |
171171 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.dmg
172- src-tauri/target/${{ matrix.target }}/release/bundle/**/*.dmg.sig
172+ src-tauri/target/${{ matrix.target }}/release/bundle/**/*.app.tar.gz
173+ src-tauri/target/${{ matrix.target }}/release/bundle/**/*.app.tar.gz.sig
173174 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.exe
174175 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.exe.sig
176+ src-tauri/target/${{ matrix.target }}/release/bundle/**/*.nsis.zip
177+ src-tauri/target/${{ matrix.target }}/release/bundle/**/*.nsis.zip.sig
175178 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.AppImage
176179 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.AppImage.sig
177180 src-tauri/target/${{ matrix.target }}/release/bundle/**/*.deb
178- src-tauri/target/${{ matrix.target }}/release/bundle/**/*.deb.sig
179181
180182 publish :
181183 needs : build-tauri
@@ -193,24 +195,24 @@ jobs:
193195 VERSION="${GITHUB_REF_NAME#v}"
194196 RELEASE_URL="https://github.com/GeiserX/CashPilot-Desktop/releases/download/${GITHUB_REF_NAME}"
195197
196- MACOS_ARM_SIG=$(cat artifacts/desktop-aarch64-apple-darwin/**/*.dmg .sig 2>/dev/null || echo "")
197- MACOS_X64_SIG=$(cat artifacts/desktop-x86_64-apple-darwin/**/*.dmg .sig 2>/dev/null || echo "")
198- WINDOWS_SIG=$(cat artifacts/desktop-x86_64-pc-windows-msvc/**/*.exe.sig 2>/dev/null || echo "")
198+ MACOS_ARM_SIG=$(cat artifacts/desktop-aarch64-apple-darwin/**/*.app.tar.gz .sig 2>/dev/null || echo "")
199+ MACOS_X64_SIG=$(cat artifacts/desktop-x86_64-apple-darwin/**/*.app.tar.gz .sig 2>/dev/null || echo "")
200+ WINDOWS_SIG=$(cat artifacts/desktop-x86_64-pc-windows-msvc/**/*.nsis.zip.sig 2>/dev/null || cat artifacts/desktop-x86_64-pc-windows-msvc/**/*. exe.sig 2>/dev/null || echo "")
199201
200- MACOS_ARM_DMG =$(find artifacts/desktop-aarch64-apple-darwin -name "*.dmg " ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
201- MACOS_X64_DMG =$(find artifacts/desktop-x86_64-apple-darwin -name "*.dmg " ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
202- WINDOWS_EXE =$(find artifacts/desktop-x86_64-pc-windows-msvc -name "*.exe" ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
202+ MACOS_ARM_URL =$(find artifacts/desktop-aarch64-apple-darwin -name "*.app.tar.gz " ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
203+ MACOS_X64_URL =$(find artifacts/desktop-x86_64-apple-darwin -name "*.app.tar.gz " ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
204+ WINDOWS_URL =$(find artifacts/desktop-x86_64-pc-windows-msvc -name "*.nsis.zip" ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || find artifacts/desktop-x86_64-pc-windows-msvc -name "*-setup .exe" ! -name "*.sig" 2>/dev/null | head -1 | xargs basename 2>/dev/null || echo "")
203205
204206 # Build platforms JSON dynamically (only include platforms with signatures)
205207 PLATFORMS=""
206208 if [ -n "$MACOS_ARM_SIG" ]; then
207- PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"darwin-aarch64\":{\"signature\":\"${MACOS_ARM_SIG}\",\"url\":\"${RELEASE_URL}/${MACOS_ARM_DMG }\"}"
209+ PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"darwin-aarch64\":{\"signature\":\"${MACOS_ARM_SIG}\",\"url\":\"${RELEASE_URL}/${MACOS_ARM_URL }\"}"
208210 fi
209211 if [ -n "$MACOS_X64_SIG" ]; then
210- PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"darwin-x86_64\":{\"signature\":\"${MACOS_X64_SIG}\",\"url\":\"${RELEASE_URL}/${MACOS_X64_DMG }\"}"
212+ PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"darwin-x86_64\":{\"signature\":\"${MACOS_X64_SIG}\",\"url\":\"${RELEASE_URL}/${MACOS_X64_URL }\"}"
211213 fi
212214 if [ -n "$WINDOWS_SIG" ]; then
213- PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"windows-x86_64\":{\"signature\":\"${WINDOWS_SIG}\",\"url\":\"${RELEASE_URL}/${WINDOWS_EXE }\"}"
215+ PLATFORMS="${PLATFORMS:+$PLATFORMS,}\"windows-x86_64\":{\"signature\":\"${WINDOWS_SIG}\",\"url\":\"${RELEASE_URL}/${WINDOWS_URL }\"}"
214216 fi
215217
216218 echo "{\"version\":\"${VERSION}\",\"notes\":\"See release notes on GitHub\",\"pub_date\":\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\",\"platforms\":{${PLATFORMS}}}" > latest.json
@@ -222,12 +224,14 @@ jobs:
222224 with :
223225 files : |
224226 artifacts/desktop-*/**/*.dmg
225- artifacts/desktop-*/**/*.dmg.sig
227+ artifacts/desktop-*/**/*.app.tar.gz
228+ artifacts/desktop-*/**/*.app.tar.gz.sig
226229 artifacts/desktop-*/**/*.exe
227230 artifacts/desktop-*/**/*.exe.sig
231+ artifacts/desktop-*/**/*.nsis.zip
232+ artifacts/desktop-*/**/*.nsis.zip.sig
228233 artifacts/desktop-*/**/*.AppImage
229234 artifacts/desktop-*/**/*.AppImage.sig
230235 artifacts/desktop-*/**/*.deb
231- artifacts/desktop-*/**/*.deb.sig
232236 latest.json
233237 generate_release_notes : true
0 commit comments