* Changed U+0441 character to U+0063
* Added alias for backward compatibility
* Changed variable name to avoid confusion
* Changed corresponding guide
* Added build status
* bumping task version
* initial implementation
* fix invalid metadataHelper file name
* fix bundle/apk file lists
* remove unneeded function
* move releaseName to advanced inputs
* switch file inputs type to string
Apparently AzDO automatically fills empty filePath inputs with working dir. This is undesirable and causes the task to pick up files even if they are not specified.
* fix null paths
* fail if no files specified
* fix invalid input name
* refactor & fix obb uploading
* reorder: upload ABBs before APKs
* rename some inputs
* change confusing variable name
* fix error message
* add support for multiple mapping files
* small fixes
* fix `uploadMappingFile` input name and description
* add some debug lines for mapping files
* fixes
* fix undefined version code for mapping
* add and fix messages
* fix input messages
* update resources.resjson too
* fix visibleRule for mappingFilePaths
* formatting
* try a new input configuration
* fix obbPath visibleRule
* fix mappingFilePath visibleRule
* fix shouldUploadMappingFile visibleRule
* fix visibleRule for mapping file inputs
* make action input required
* rework task to use new UI with `action` input
* fix tslint warnings
* make apkFiles input multiline too
* update input messages
* validate action input
* warn of unused inputs
* add track input to unused inputs check
* fix invalid return value in getBundles and getApks
* warn about unused mapping file inputs on multifile
* fix MustProvideApkIfObb loc string
* small fixes
* update loc strings
* fix typo in submission process explanation comment
* only upload mapping if single apk/aab
* refactor `getApks` and `getBundles`
* fix `getApksOrAabs` comment
* fix apk upload request mimeType
* move helpers to `modules` folder
* improved & localized invalid action error message
* rename GooglePlay.ts to main.ts
* rename updateTrack function in main.ts
* combine inputs of track update method in main.ts
* improve error messaging on apk/aab not found
* EOL
* add unit tests
* split functions into separate modules
* remove duplicate `Action` type declaration
* extract `TrackUpdateParameters` interface
* improve typecheck for action input
* make `Action` type export
* fix tslint warnings in TrackUpdateParameters
* update make-options & extension.json
* update readmes
* fixes
* make some inputs required
* fix warning message on unset bool inputs
* trim trailing whitespace
* update list of unused inputs for OnlyStoreListing
* remove some items from lists of unused inputs
AzDO sets these inputs to default, so they can't be checked
* fix broken `visibleRule` for `track` input
* update GUID
it's not possible to have multiple tasks with the same GUID in extension
* bump task version
* update task.loc.json
* add icon
* add "deprecated" to friendlyName of V3 tasks
* extract defaultLanguageCode into const
* refactor returning obb path
* add comment about action type checking
* change let to const in serviceEndpoint declaration
Co-authored-by: Alexander Smolyakov <v-alsmo@microsoft.com>
* Add Task Google Play - Halt, allows automating the halt of a previously released Android app.
* Update readme file
* Bump up extension version
* Update Halt task
* Update Tasks/GooglePlayHalt/task.json
Co-authored-by: DaniilShmelev <72494759+DaniilShmelev@users.noreply.github.com>
* Bump up extension version
* use GooglePlayStatusUpdate instead of GooglePlayHalt
* 1. Remove keepUserFraction option; 2. rely on google api error.
* Added judgment on userFraction, illegal input such as non-empty non-number throws an error.
* Update Tasks/GooglePlayStatusUpdate/google-play-status-update.ts
Co-authored-by: DaniilShmelev <72494759+DaniilShmelev@users.noreply.github.com>
* Update readme file and some description.
* Clean up all unused functions/types.
* Update Tasks/GooglePlayStatusUpdate/package.json
Co-authored-by: Anatoly Bolshakov <v-anbols@microsoft.com>
* Update README.md
Co-authored-by: Anatoly Bolshakov <v-anbols@microsoft.com>
* Update Tasks/GooglePlayStatusUpdate/google-play-status-update.ts
Co-authored-by: Anatoly Bolshakov <v-anbols@microsoft.com>
* Replace any type with a specific type where possible
* use androidpublisher_v3.Resource$Edits type in getNewEdit, getTrack, updateTrack
* Replace AndroidRelease with androidpublisher_v3.Schema$TrackRelease
Co-authored-by: Yingjie Li <yingjieli@microsoft.com>
Co-authored-by: DaniilShmelev <72494759+DaniilShmelev@users.noreply.github.com>
Co-authored-by: Anatoly Bolshakov <v-anbols@microsoft.com>
* addad possibility to specify version code to promote
when promoting an app from one track to the other, previously the latest
release on the source track was promoted.
added a possibility to specify which version code to promote from the
source track.
if no version code is specified, the latest version on source track is
used
if a version code is specified, the apk of that version code will be
promoted.
if there is no apk with that version code on the source track, the task
will fail
* Updated ReadMe to reflect new versionCode Option
* fixed an issue with version code not beeing the latest of track
when the given version code was not the latest of track, the promote
would fail
error handling whether version code is exsitant is now done by google
api instead of handling it in the task itself.
* added log line again after accidentally deleting it
* more useful tests and don't overwrite releasenotes
don't overwrite release notes if a version code is given.
better testing
* forgot to add new test file