Skip to content

Commit b78b45d

Browse files
committed
ci: create preprelease when ref name contains 'alpha' or 'beta' [skip ci]
1 parent 94b0a23 commit b78b45d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
- name: Create release
8282
uses: ncipollo/release-action@v1
8383
with:
84+
allowUpdates: true
85+
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
8486
artifacts: "app/build/outputs/apk/release/*.apk"
8587
body: |
8688
${{ steps.build_changelog.outputs.changelog }}

0 commit comments

Comments
 (0)