ci: publish cross-platform release assets reliably

This commit is contained in:
reaper
2026-08-26 21:02:10 -05:00
parent c9f832d250
commit e6ed7e5de8
3 changed files with 23 additions and 6 deletions
+7 -5
View File
@@ -66,11 +66,13 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$GITHUB_REF_NAME" \
--repo "$GITHUB_REPOSITORY" \
--prerelease \
--title "Aurora Dockside ${GITHUB_REF_NAME}" \
--notes "Linux testing release with the bundled Aurora Native runtime, WordPress and Drupal PAC modules, native logs, database portability, and automatic Adminer access." \
gh release view "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1 || \
gh release create "$GITHUB_REF_NAME" \
--repo "$GITHUB_REPOSITORY" \
--prerelease \
--title "Aurora Dockside ${GITHUB_REF_NAME}" \
--notes "Cross-platform testing release with Aurora Native, bundled WordPress and Drupal PAC modules, native logs, database portability, and automatic Adminer access."
gh release upload "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --clobber \
dist/*.AppImage \
dist/native-runtime/*.tar.gz \
dist/module-catalog/*.pac \