From bfe3dc0ef42b81324a9726f6300971f7a507c045 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:04:08 +0100 Subject: [PATCH] Added beta release track to CD --- .github/workflows/create_release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index ae1ebdc..52cdc82 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -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