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

11 Коммитов

Автор SHA1 Сообщение Дата
İsmayıl İsmayılov 98995672cd
Changed U+0441 character to U+0063 (#359)
* 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
2022-09-22 16:20:03 +04:00
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
RaccoonLi 114ab5bc00
Add Task Google Play - Status Update, allows you to update the status of an app that was previously released to the selected track. (#282)
* 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>
2021-08-11 17:01:15 +03:00
Felix Wiemann 926147cd83
[GooglePlayPromote] Added possibility to specify version code to promote (#264)
* 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
2021-04-16 13:54:41 +03:00
Anatoly Bolshakov 597aa186f2
Added docs for bundle task to readme (#211)
* Added docs for bundle task to readme

* Added notes about using secure files for keeping json auth file

* Fixed links format
2020-11-26 13:25:38 +03:00
Alexandr Smolaykov 014f1691b5
[GooglePlayReleaseV3] Fix task behavior when the "Update APK" option unchecked (#193)
Added 'Update only store listing option', which provides the possibility to update store listing metadata without reassigning APK files.
2020-07-30 21:31:31 +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
rub8n f56ac85c4d Updates release task image to show metadata options 2016-06-21 11:25:22 -07:00
rub8n e69c9770d6 Updates Readme with mention of multiple APKs option 2016-05-18 17:07:08 -07:00
Jonathan Carter 7e99618d8d Updating readme 2016-04-25 16:59:12 -07:00