Commit Graph

57 Commits

Author SHA1 Message Date
Jack Boswell
91c8f42cf7 feature: Allow editing existing Edits (#120)
* Only take edit ID for track validation

* Only take edit ID for adding releases

* Only take edit ID for mapping file upload

* Only take edit ID for uploading artifacts

* Only use app edit ID for uploading releases

* Rebuild

* Allow passing in an existing edit ID

* Expose existingEditId

* Run build
2022-06-20 20:59:52 +12:00
Jack Boswell
e00bb8ce1e feature: Add support for changesNotSentForReview (#117)
Credits to @princefr for the original implementation
2022-06-18 19:50:39 +12:00
Jack Boswell
7b7381ed55 Added cleanup to generated service account file (#116)
Co-authored-by: Drew Heavner <veedubusc@gmail.com>
2022-06-18 18:32:34 +12:00
Jack Boswell
dd8dcab872 Chore: Update dependencies (#113)
* Bump minor versions

* Fix error not having a type

* Remove jest-circus

* Bump ncc

* Remove ts-jest

* Drop googleapis for androidpublisher in particular
Way smaller compiled size, and way shorter compile time

* Bump jest

* Bring back ts-jest

* Bump @types/node
2022-06-15 17:13:36 +12:00
Doug Keen
15ee0081ab fix: default behavior when status is unspecified (#80) (#87) 2022-06-14 20:03:26 -04:00
Pablo A Martínez Andrés
8c2ebfdb6e Fix: Support BCP 47 language codes without contry code (#73)
* Updated regex to support BCP 47 language codes without country code

* Updated whatsnew tests

Co-authored-by: Pablo A. Martínez <pamartinez@boiradev.com>
2021-09-21 12:26:56 -04:00
Doug Keen
060a2efa0e feat: Add support for explicitly specifying release status (#78) 2021-09-21 10:57:13 -04:00
Diogo de Azevedo Silva
49d0f39523 fix: change log message 2021-03-17 16:04:18 -03:00
DiogoAbu
26a9aa82ba feat: allow glob on releaseFiles input 2021-03-11 19:43:14 -03:00
Jack Boswell (boswelja)
bda8b09ade Remove outputting generated release name
Seems like Google doesn't expose this before edits are committed.
2021-01-01 16:42:39 +13:00
Riccardo Lattarulo
e9a4446395 Add multiple urls to internal sharing outputs 2020-12-23 10:16:35 +01:00
Riccardo Lattarulo
b06f374506 Add internal sharing download url to output 2020-12-22 16:57:37 +01:00
Jack Boswell (boswelja)
40448bb1bb Add some output for the user to read while the action is running 2020-12-12 18:38:17 +13:00
Drew Heavner
2f949adc6e Removed call to developer api to pull the releaseName for the edit and instead used result from actual update to the track.
Added more debug logging.
2020-12-10 11:36:45 -05:00
Drew Heavner
f9a7fda708 Bumped version for release
Adjusted 'packageName' order in params to be consistent
2020-12-09 14:11:55 -05:00
Max Romanyuta
fc490c3965 Add auth 2020-12-09 18:41:12 +02:00
Max Romanyuta
df30106c36 Add missing params 2020-12-09 18:29:00 +02:00
Jack Boswell (boswelja)
8e8abbe013 Add await to getPublishedReleaseName 2020-12-08 16:58:04 +13:00
Jack Boswell (boswelja)
af37686362 Only fetch release name if the user didn't specify one
This should improve performance when manually setting a release name
2020-12-08 16:52:47 +13:00
Jack Boswell (boswelja)
373fb32d65 Output published release name on success 2020-12-01 17:53:30 +13:00
Drew Heavner
6bdd0b899a Added 'releaseFile' back to action to maintain backwards compatibility. 2020-11-11 09:46:26 -05:00
Drew Heavner
e8f8537caf Fixed typo in inAppUpdatePriority input check 2020-11-11 09:19:29 -05:00
Drew Heavner
422a77593f Added support for #27 and #33.
Updated typescript
Updated googleapis
2020-11-11 13:59:13 +00:00
Drew Heavner
bd487ef324 Updating NPM dependencies 2020-11-11 13:30:52 +00:00
Jack Boswell (boswelja)
308a7485f2 Try using for/of instead of for/in 2020-11-10 18:44:09 +13:00
Jack Boswell (boswelja)
651ca992ef More debug logging for release file validation 2020-11-10 18:11:35 +13:00
Jack Boswell (boswelja)
381598c519 Add debug output to show what releaseFiles the script interpreted from input 2020-11-10 13:13:48 +13:00
Jack Boswell (boswelja)
d522a8f9de Convert last forEach call to a for loop 2020-11-06 20:44:43 +13:00
Jack Boswell (boswelja)
cdd4e28c71 Remove setFailed calls from functionsThese are handled in the catch block on each call in uploadToPlayStore 2020-11-05 19:17:47 +13:00
Jack Boswell (boswelja)
d2ed26efd5 Build latest changes
Forgot to do this before
2020-11-05 11:47:39 +13:00
Jack Boswell (boswelja)
a0b5e05df4 Add missing await to track setup 2020-11-05 11:43:31 +13:00
Jack Boswell (boswelja)
b88b48212e Fix artifact uploads possibly occurring after committing the edit 2020-11-05 10:17:49 +13:00
Jack Boswell (boswelja)
1d8ec1dc08 Fix internal sharing branch name 2020-11-05 10:14:33 +13:00
Jack Boswell (boswelja)
e219a80fab Comment code a bit 2020-11-04 21:33:08 +13:00
Jack Boswell (boswelja)
edfaa9c57a Merge branch 'master' of https://github.com/boswelja/upload-google-play into master 2020-11-04 21:26:50 +13:00
Jack Boswell (boswelja)
23c3f21aa0 Drop internal app sharing URL exporting for now 2020-11-04 21:18:33 +13:00
Jack Boswell (boswelja)
7774099a1b Separate internal sharing uploading into it's own function
Also skip unneeded setup when uploading to internal sharing
2020-10-23 16:26:01 +13:00
Jack Boswell (boswelja)
32ecfee315 Rename trackVersionCode to addReleasesToTrack
I feel this better describes what the function does
2020-10-23 16:15:51 +13:00
Jack Boswell (boswelja)
fc19501036 Move track validation to a separate function 2020-10-23 16:12:01 +13:00
Jack Boswell (boswelja)
87accbcd41 Add releases to the edit track correctly 2020-10-23 16:00:18 +13:00
Jack Boswell (boswelja)
f5c3d22549 Add some extra log output 2020-10-23 15:24:33 +13:00
Jack Boswell (boswelja)
5d0e398bfb Rewrite a portion of edits.ts
uploadRelease now specifically only uploads to an edit.
uploadToPlayStore is designed to handle multiple inputs, and commit them at the right time.
Error catching should be improved now.
2020-10-20 19:27:02 +13:00
Jack Boswell (boswelja)
640b063c96 Rename releaseFile input to releaseFiles 2020-10-20 18:56:28 +13:00
Jack Boswell (boswelja)
2d2abb06d4 Remove file count log output 2020-10-20 18:52:07 +13:00
Jack Boswell (boswelja)
18300ceb50 Log release file count for testing purposes 2020-10-20 13:43:25 +13:00
Jack Boswell (boswelja)
b2ae82a104 Try a different split character 2020-10-20 13:43:25 +13:00
Jack Boswell (boswelja)
cea1728d1b Initial multi artifact work
Supports multiple artifact inputs, separated by "|".
Multiple mapping files need support, and uploading internal sharing artifacts also needs work
2020-10-20 13:43:25 +13:00
Drew Heavner
cf8506bcfb Merge remote-tracking branch 'origin/master' 2020-08-20 13:32:23 -04:00
Drew Heavner
caa567f814 Fixed #10 - Added support for internalsharing uploading 2020-08-20 13:32:14 -04:00
Drew Heavner
58133c3401 Fixed regex to be more inclusive
Fix #9 - Made regex more inclusive to required BCP 47 formats
2020-05-15 11:19:28 -04:00