Skip to content

Commit 3b34fe6

Browse files
authored
Update attach_debug_apks_to_release.yml
1 parent 5d11acb commit 3b34fe6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/attach_debug_apks_to_release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Attach Debug APKs To Release
22

33
on:
44
workflow_dispatch:
5-
release:
6-
types:
7-
- published
5+
push:
6+
87

98
jobs:
109
attach-apks:
@@ -24,8 +23,8 @@ jobs:
2423

2524
- name: Mark release as prerelease
2625
run: |
27-
RELEASE_VERSION_NAME="${GITHUB_REF/refs\/tags\//}"
28-
gh release edit "$RELEASE_VERSION_NAME" --prerelease
26+
TAG_NAME="${GITHUB_REF/refs\/tags\//}"
27+
gh release create "$TAG_NAME" --title "$TAG_NAME" --notes "Automated release for $TAG_NAME" --prerelease
2928
env:
3029
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3130

0 commit comments

Comments
 (0)