1 parent 271caef commit 94e8d7aCopy full SHA for 94e8d7a
1 file changed
.github/workflows/android-release.yml
@@ -93,7 +93,11 @@ jobs:
93
printf 'Verify: `gh attestation verify soh-%s.apk --owner linkzenic`\n' "${TAG}" >> /tmp/release-notes.md
94
printf 'Build: %s/%s/actions/runs/%s\n' "${{ github.server_url }}" "${{ github.repository }}" "${{ github.run_id }}" >> /tmp/release-notes.md
95
96
- gh release create "${TAG}" \
97
- "soh-${TAG}.apk" \
98
- --title "${TAG}" \
99
- --notes-file /tmp/release-notes.md
+ if gh release view "${TAG}" >/dev/null 2>&1; then
+ gh release upload "${TAG}" "soh-${TAG}.apk" --clobber
+ else
+ gh release create "${TAG}" \
100
+ "soh-${TAG}.apk" \
101
+ --title "${TAG}" \
102
+ --notes-file /tmp/release-notes.md
103
+ fi
0 commit comments