Added beta release track to CD

This commit is contained in:
Vadim 2024-11-11 19:04:08 +01:00
parent 1d22ec5439
commit bfe3dc0ef4

View file

@ -27,6 +27,14 @@ on:
required: true
type: boolean
default: true
release-track:
description: "Release track"
type: choice
required: true
options:
- production
- beta
default: production
env:
RELEASE_NOTES_ARTIFACT_NAME: release_notes_en_${{ inputs.version }}
@ -128,6 +136,7 @@ jobs:
with:
artifacts: "m3_lightmeter.apk"
skipIfReleaseExists: true
prerelease: ${{ inputs.release-track == 'beta' }}
tag: "v${{ github.event.inputs.version }}"
bodyFile: "${{ env.RELEASE_NOTES_PATH }}/${{ env.RELEASE_NOTES_FILE }}"
@ -178,7 +187,7 @@ jobs:
packageName: com.vodemn.lightmeter
releaseFiles: app-prod-release.aab
releaseName: ${{ env.release_name }}
track: production
track: ${{ inputs.release-track }}
status: completed
debugSymbols: merged_native_libs.zip
whatsNewDirectory: whatsnew