I am moving my CI/CD to Azure DevOps, and part of that is moving builds to Azure Pipeline.
My test Android app builds fine but while attempting to distribute to the store I get the error,
Only releases with status draft may be created on draft app.
But the problem is there is only 1 track being used, the internal track, and there is not a build in draft.
This is part of my current azure-pipelines.yml
- task: GooglePlayRelease@4
inputs:
serviceEndpoint: 'GooglePlayConnection'
track: 'internal'
applicationId: '$(expectedBundleName)'
action: 'SingleBundle'
bundleFile: '$(platformSpecificOutputDirectory)/$(expectedBundleName).aab'
releaseName: $(Build.BuildID)
isDraftRelease: false
changeLogFile: 'defaultReleaseNotes.txt'
If I change isDraftRelease to true it will upload but keep it in a draft state.
If I try follow up by immediately making the draft a completed app with
- task: GooglePlayStatusUpdate@2
inputs:
serviceEndpoint: 'GooglePlayConnection'
track: 'internal'
packageName: '$(expectedBundleName)'
status: 'completed'
but then that will fail with the same error
EDIT: I tried pushing to alpha instead of internal and got the same error even after pushing an app there manually.
I am moving my CI/CD to Azure DevOps, and part of that is moving builds to Azure Pipeline.
My test Android app builds fine but while attempting to distribute to the store I get the error,
But the problem is there is only 1 track being used, the internal track, and there is not a build in draft.
This is part of my current
azure-pipelines.ymlIf I change
isDraftReleasetotrueit will upload but keep it in a draft state.If I try follow up by immediately making the draft a completed app with
but then that will fail with the same error
EDIT: I tried pushing to alpha instead of internal and got the same error even after pushing an app there manually.