Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Daniil Shmelev a21a9d6b83
Add GooglePlayReleaseV4 task for uploading apks and aabs as a part of the same release (#292)
* 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>
2021-10-05 15:56:04 +03:00
Lucas Killgore 290d8472f7 Updated readme with new pictures. 2019-08-05 13:42:12 -04:00
Alex Rukhlin 5014fe568e Release M117 (draft) 2017-04-19 15:28:46 -04:00