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