6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 31317e16
Changed files
azure/azure-pipelines.yml | 57 ++++++++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 21 deletions(-)
Diff
diff --git a/azure/azure-pipelines.yml b/azure/azure-pipelines.yml
index 98d22219..48f0f734 100644
--- a/azure/azure-pipelines.yml
+++ b/azure/azure-pipelines.yml
@@ -41,6 +41,21 @@ stages:
echo "##vso[task.setvariable variable=flavor]releaseprod"
displayName: 'Set variables for prod'
- template: /azure/templates/build-android.yml
+ - task: GooglePlayRelease@4
+ condition:
+ or(
+ eq(variables['Build.SourceBranch'], 'refs/heads/develop'),
+ eq(variables['Build.SourceBranch'], 'refs/heads/stage'),
+ eq(variables['Build.SourceBranch'], 'refs/heads/prod')
+ )
+ inputs:
+ serviceConnection: 'Google play'
+ applicationId: 'com.comwell.phoenix.$( environment )'
+ action: 'SingleBundle'
+ bundleFile: '$(Build.ArtifactStagingDirectory)/*.aab'
+ track: 'internal'
+ releaseName: 'test connection'
+ isDraftRelease: true
# parameters:
# flavor: $( flavor )
@@ -88,26 +103,26 @@ stages:
# flavor: $( flavor )
# cppwd: $( cppwd )
-- stage: Deploy_Android
- pool:
- vmImage: 'ubuntu-latest'
- dependsOn: CI_Android
- condition: and(succeeded('CI_Android'), or(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), eq(variables['Build.SourceBranch'], 'refs/heads/stage'), eq(variables['Build.SourceBranch'], 'refs/heads/prod')))
- jobs:
- - deployment:
- environment: 'dev'
- strategy:
- runOnce:
- deploy:
- steps:
- - task: GooglePlayRelease@4
- inputs:
- serviceConnection: 'Google play'
- applicationId: 'com.comwell.phoenix.$( environment )'
- action: 'SingleBundle'
- bundleFile: '$(Build.ArtifactStagingDirectory)/*.aab'
- track: 'internal'
- releaseName: 'test connection'
- isDraftRelease: true
+# - stage: Deploy_Android
+# pool:
+# vmImage: 'ubuntu-latest'
+# dependsOn: CI_Android
+# condition: and(succeeded('CI_Android'), or(eq(variables['Build.SourceBranch'], 'refs/heads/develop'), eq(variables['Build.SourceBranch'], 'refs/heads/stage'), eq(variables['Build.SourceBranch'], 'refs/heads/prod')))
+# jobs:
+# - deployment:
+# environment: 'dev'
+# strategy:
+# runOnce:
+# deploy:
+# steps:
+# - task: GooglePlayRelease@4
+# inputs:
+# serviceConnection: 'Google play'
+# applicationId: 'com.comwell.phoenix.$( environment )'
+# action: 'SingleBundle'
+# bundleFile: '$(Build.ArtifactStagingDirectory)/*.aab'
+# track: 'internal'
+# releaseName: 'test connection'
+# isDraftRelease: true