mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 07:50:42 +00:00
Added beta release track to CD
This commit is contained in:
parent
1d22ec5439
commit
bfe3dc0ef4
1 changed files with 10 additions and 1 deletions
11
.github/workflows/create_release.yml
vendored
11
.github/workflows/create_release.yml
vendored
|
@ -27,6 +27,14 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
release-track:
|
||||||
|
description: "Release track"
|
||||||
|
type: choice
|
||||||
|
required: true
|
||||||
|
options:
|
||||||
|
- production
|
||||||
|
- beta
|
||||||
|
default: production
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RELEASE_NOTES_ARTIFACT_NAME: release_notes_en_${{ inputs.version }}
|
RELEASE_NOTES_ARTIFACT_NAME: release_notes_en_${{ inputs.version }}
|
||||||
|
@ -128,6 +136,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
artifacts: "m3_lightmeter.apk"
|
artifacts: "m3_lightmeter.apk"
|
||||||
skipIfReleaseExists: true
|
skipIfReleaseExists: true
|
||||||
|
prerelease: ${{ inputs.release-track == 'beta' }}
|
||||||
tag: "v${{ github.event.inputs.version }}"
|
tag: "v${{ github.event.inputs.version }}"
|
||||||
bodyFile: "${{ env.RELEASE_NOTES_PATH }}/${{ env.RELEASE_NOTES_FILE }}"
|
bodyFile: "${{ env.RELEASE_NOTES_PATH }}/${{ env.RELEASE_NOTES_FILE }}"
|
||||||
|
|
||||||
|
@ -178,7 +187,7 @@ jobs:
|
||||||
packageName: com.vodemn.lightmeter
|
packageName: com.vodemn.lightmeter
|
||||||
releaseFiles: app-prod-release.aab
|
releaseFiles: app-prod-release.aab
|
||||||
releaseName: ${{ env.release_name }}
|
releaseName: ${{ env.release_name }}
|
||||||
track: production
|
track: ${{ inputs.release-track }}
|
||||||
status: completed
|
status: completed
|
||||||
debugSymbols: merged_native_libs.zip
|
debugSymbols: merged_native_libs.zip
|
||||||
whatsNewDirectory: whatsnew
|
whatsNewDirectory: whatsnew
|
||||||
|
|
Loading…
Reference in a new issue