Commit Graph

62 Commits

Author SHA1 Message Date
Thomas Aunvik
6a74f079de Add Debug Symbol File/Folder Upload (#130)
* Add Debug Symbol File/Folder Upload

Uploads Deobfuscation File type 'nativeCode'.

Inputs allowed in 'debugSymbols', a .zip file, or a folder that contains the symbols.

* Space Formatting

* Zip Directory Function higher level, and formatting
2022-09-12 00:21:02 +12:00
Jack Boswell
c16321c553 feature: Infer status from provided parameters (#122)
* Mark status as deprecated

* Make userFraction required & provide a default
We'll use this to infer `inProgress` or `completed`

* Infer status from userFraction

* Fix workflow

* Update README

* Run build

* Add support for drafts again

* Pass in isDraft

* Warn about setting draft and userFraction simultaneously

* Expose isDraft

* Do a build

* Allow passing status in again
This will be required for draft/halted
It is optional though, if it's not specified, we have updated logic for inferring it

* Update userFraction description

* Revert "Fix workflow"

This reverts commit ad98b3d449f0f36c9d4f0a3d0b2eb49a4c3e1aa9.

* Remove deprecated tag from status

* Move status back

* Allow 0 userFraction

* Run build
2022-09-11 20:53:18 +12:00
Jack Boswell
7406d2c7a1 Update deps (#137) 2022-09-11 19:51:48 +12:00
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 (boswelja)
7f42989517 Ensure deps are up to date and do a build 2022-06-18 18:57:34 +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
060a2efa0e feat: Add support for explicitly specifying release status (#78) 2021-09-21 10:57:13 -04:00
Jack Boswell (boswelja)
f4405077a3 Update types and run audit to fix high severity vulnerability 2021-03-30 19:38:15 +13:00
Jack Boswell (boswelja)
dfb1c38c76 Update all dependencies and rebuild
index.js appears to be a bit smaller after this
2021-03-19 13:43:18 +13:00
Jack Boswell (boswelja)
4bf1ac3ae4 Merge remote-tracking branch 'r0adkll/master' into ncc-build 2021-03-19 13:34:59 +13:00
Drew Heavner
edc6575646 Ensuring node modules are up to date for running 2021-03-18 14:18:40 +00:00
Diogo de Azevedo Silva
49d0f39523 fix: change log message 2021-03-17 16:04:18 -03:00
DiogoAbu
fbc59f2a64 fix: build lib 2021-03-11 20:11:26 -03:00
Jack Boswell (boswelja)
883ba42113 Minify release 2021-01-25 20:50:47 +13:00
Jack Boswell (boswelja)
0ea696ec58 Complete first build & point action to new entry 2021-01-25 20:30:07 +13: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)
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)
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