@sprid/release 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/play/client.ts +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
@sprid/release follows semver: a breaking change to a command's arguments, its
|
|
4
4
|
output shape or its exit codes is a major release.
|
|
5
5
|
|
|
6
|
+
## 1.6.2 - 2026-11-19
|
|
7
|
+
|
|
8
|
+
- Google Play listing updates retry without submitting for review when Play requires it. The CLI tells you to submit the saved changes from Publishing overview in Play Console.
|
|
9
|
+
|
|
6
10
|
## 1.6.1 - 2026-11-13
|
|
7
11
|
|
|
8
12
|
- `retention` fails locally on a message body over 144 characters, which App Store
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprid/release",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Build, sign and release mobile apps locally. Store copy, screenshots, binary uploads and review submissions from one app-owned configuration. Dry run by default.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
package/src/play/client.ts
CHANGED
|
@@ -29,8 +29,17 @@ export function createPlayClient(config: AppReleaseConfig): PlayClient {
|
|
|
29
29
|
|
|
30
30
|
// Retain the exported method name for existing callers. Listing updates never
|
|
31
31
|
// modify release tracks, even when Play refuses a commit for a draft app.
|
|
32
|
+
// Play refuses an automatic send for review while the app has rejected or
|
|
33
|
+
// pending changes; the edit then commits only with changesNotSentForReview and
|
|
34
|
+
// is sent for review from the Publishing overview in Play Console.
|
|
32
35
|
async function commitWithDraftStaging(editId: string, _reapply?: (editId: string) => Promise<void>): Promise<void> {
|
|
33
|
-
|
|
36
|
+
try {
|
|
37
|
+
await play.edits.commit({ packageName, editId });
|
|
38
|
+
} catch (e: any) {
|
|
39
|
+
if (!String(e?.message ?? '').includes('changesNotSentForReview')) throw e;
|
|
40
|
+
await play.edits.commit({ packageName, editId, changesNotSentForReview: true });
|
|
41
|
+
console.log(' Committed without sending for review. Send the changes from Publishing overview in Play Console.');
|
|
42
|
+
}
|
|
34
43
|
}
|
|
35
44
|
|
|
36
45
|
async function withEdit<T>(fn: (editId: string) => Promise<T>): Promise<T> {
|