gowalk-cicd 1.0.172 → 1.0.173
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/README.md
CHANGED
|
@@ -887,9 +887,10 @@ preserving each app's custom checks and artifact retention settings. An isolated
|
|
|
887
887
|
override via action inputs only if auto-detection fails.
|
|
888
888
|
2. **Reads the ASC key** from `creds/AuthKey_*.p8` and uses it to authenticate
|
|
889
889
|
to App Store Connect via JWT.
|
|
890
|
-
3. **Decides the marketing version**: either reuses the current
|
|
891
|
-
version on App Store Connect
|
|
892
|
-
|
|
890
|
+
3. **Decides the marketing version**: either reuses the current editable
|
|
891
|
+
version on App Store Connect (`PREPARE_FOR_SUBMISSION`, a `READY_FOR_REVIEW`
|
|
892
|
+
draft you have not submitted yet, or a rejected state), or creates a new
|
|
893
|
+
version if the highest declared version is already live.
|
|
893
894
|
4. **Computes the next build number** by querying ASC for the latest uploaded
|
|
894
895
|
build and incrementing.
|
|
895
896
|
5. **Provisions signing** at runtime: reconciles the App ID's capabilities with
|
|
@@ -33,9 +33,13 @@ ASC_BASE = "https://api.appstoreconnect.apple.com/v1"
|
|
|
33
33
|
# developer's manual release click). Auto-roll is forbidden:
|
|
34
34
|
# advancing past either state would race the review process or
|
|
35
35
|
# bypass the developer's release decision.
|
|
36
|
-
# editable -- PREPARE_FOR_SUBMISSION /
|
|
37
|
-
# DEVELOPER_REJECTED / INVALID_BINARY.
|
|
38
|
-
# (developer-actionable; mutating is safe).
|
|
36
|
+
# editable -- PREPARE_FOR_SUBMISSION / READY_FOR_REVIEW / REJECTED /
|
|
37
|
+
# METADATA_REJECTED / DEVELOPER_REJECTED / INVALID_BINARY.
|
|
38
|
+
# REUSE the row's id (developer-actionable; mutating is safe).
|
|
39
|
+
# READY_FOR_REVIEW is App Store Connect's "indicated that you
|
|
40
|
+
# intend to submit it for review, but haven't submitted it
|
|
41
|
+
# yet": the developer still holds the row (only images and
|
|
42
|
+
# videos are locked), so a build for that version joins it.
|
|
39
43
|
# unknown -- any state in NONE of the above. Round-12 fail-closed: the
|
|
40
44
|
# classifier rejects rather than guessing, so a future ASC
|
|
41
45
|
# state cannot silently 409 on CREATE or interfere with
|
|
@@ -53,6 +57,7 @@ ASC_BASE = "https://api.appstoreconnect.apple.com/v1"
|
|
|
53
57
|
# App Store version states that allow editing the current draft.
|
|
54
58
|
EDITABLE_STATES = {
|
|
55
59
|
"PREPARE_FOR_SUBMISSION",
|
|
60
|
+
"READY_FOR_REVIEW",
|
|
56
61
|
"WAITING_FOR_REVIEW",
|
|
57
62
|
"IN_REVIEW",
|
|
58
63
|
"REJECTED",
|
|
@@ -68,8 +73,15 @@ EDITABLE_STATES = {
|
|
|
68
73
|
# such a row would silently interfere with App Review. REJECTED /
|
|
69
74
|
# METADATA_REJECTED / INVALID_BINARY come back from Apple Review and are
|
|
70
75
|
# explicitly developer-actionable, so mutating them is safe.
|
|
76
|
+
# READY_FOR_REVIEW sits in a review submission the developer has not sent
|
|
77
|
+
# (App Store Connect: "haven't submitted it yet"; editable except images and
|
|
78
|
+
# videos). Apple is not reviewing it, and a new build for the same version is
|
|
79
|
+
# exactly what its owner uploads before submitting; the fail-closed
|
|
80
|
+
# "unrecognized state" exit refused that build before compilation
|
|
81
|
+
# (CI run 37116771417).
|
|
71
82
|
REUSABLE_STATES = {
|
|
72
83
|
"PREPARE_FOR_SUBMISSION",
|
|
84
|
+
"READY_FOR_REVIEW",
|
|
73
85
|
"DEVELOPER_REJECTED",
|
|
74
86
|
"REJECTED",
|
|
75
87
|
"METADATA_REJECTED",
|
|
@@ -25,7 +25,8 @@ Algorithm:
|
|
|
25
25
|
4. If the target row already exists in /appStoreVersions:
|
|
26
26
|
- any terminal match -> auto-roll or SystemExit(2); the slot is
|
|
27
27
|
taken by a shipped row.
|
|
28
|
-
- editable-only match
|
|
28
|
+
- editable-only match (PREPARE_FOR_SUBMISSION, READY_FOR_REVIEW,
|
|
29
|
+
the rejected states) -> REUSE its id (steady-state TestFlight
|
|
29
30
|
iteration at unchanged MARKETING_VERSION).
|
|
30
31
|
5. CREATE path: floor-check (strict, target > floor); PATCH-rename any
|
|
31
32
|
stale editable to target; or POST a new row.
|
|
@@ -52,9 +52,13 @@ SKIP_VERSIONS = {"1.0", "1.0.0", "0.0", "0.0.0"}
|
|
|
52
52
|
|
|
53
53
|
# Apple permits editing appStoreVersionLocalizations.whatsNew only while the
|
|
54
54
|
# version is in an editable state. WAITING_FOR_REVIEW / IN_REVIEW /
|
|
55
|
-
# READY_FOR_SALE etc. are not editable -- skip non-fatally.
|
|
55
|
+
# READY_FOR_SALE etc. are not editable -- skip non-fatally. READY_FOR_REVIEW
|
|
56
|
+
# (added to a review submission the developer has not sent) keeps text
|
|
57
|
+
# metadata editable; a localization Apple still locks answers 409
|
|
58
|
+
# STATE_ERROR, which _patch_localization skips.
|
|
56
59
|
WHATSNEW_EDITABLE_STATES = {
|
|
57
60
|
"PREPARE_FOR_SUBMISSION",
|
|
61
|
+
"READY_FOR_REVIEW",
|
|
58
62
|
"REJECTED",
|
|
59
63
|
"METADATA_REJECTED",
|
|
60
64
|
"DEVELOPER_REJECTED",
|