@daemux/store-automator 0.10.7 → 0.10.8

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.
@@ -5,14 +5,14 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "App Store & Google Play automation for Flutter apps",
8
- "version": "0.10.7"
8
+ "version": "0.10.8"
9
9
  },
10
10
  "plugins": [
11
11
  {
12
12
  "name": "store-automator",
13
13
  "source": "./plugins/store-automator",
14
14
  "description": "3 agents for app store publishing: reviewer, meta-creator, media-designer",
15
- "version": "0.10.7",
15
+ "version": "0.10.8",
16
16
  "keywords": [
17
17
  "flutter",
18
18
  "app-store",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daemux/store-automator",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
4
4
  "description": "Full App Store & Google Play automation for Flutter apps with Claude Code agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "store-automator",
3
- "version": "0.10.7",
3
+ "version": "0.10.8",
4
4
  "description": "App Store & Google Play automation agents for Flutter app publishing",
5
5
  "author": {
6
6
  "name": "Daemux"
@@ -86,6 +86,29 @@ if [ "$READY" != "true" ]; then
86
86
  echo " 4. Upload at least one AAB manually for the first release"
87
87
  echo " 5. Grant the service account access to the app"
88
88
  echo ""
89
+ echo "::warning title=Google Play Not Ready::App setup incomplete. See job summary for missing steps."
90
+ if [ -n "${GITHUB_STEP_SUMMARY:-}" ]; then
91
+ cat >> "$GITHUB_STEP_SUMMARY" << SUMMARY
92
+ ## :warning: Google Play Not Ready for Automation
93
+
94
+ The app **$PACKAGE_NAME** is not yet configured for automated publishing.
95
+
96
+ ### Missing steps:
97
+ $MISSING_STEPS
98
+
99
+ ### How to fix:
100
+
101
+ 1. Go to [Google Play Console](https://play.google.com/console)
102
+ 2. Ensure the app (\`$PACKAGE_NAME\`) has been manually created
103
+ 3. Complete the **Store listing** (description, graphics, screenshots)
104
+ 4. Complete the **Content rating** questionnaire
105
+ 5. Complete **Pricing & distribution** settings
106
+ 6. Upload at least one AAB manually for the first release
107
+ 7. Grant the service account access to the app under **Users & permissions**
108
+
109
+ > Once all steps are completed, re-run this workflow and Google Play readiness will pass.
110
+ SUMMARY
111
+ fi
89
112
  echo "Google Play is NOT ready. CI cannot proceed."
90
113
  exit 1
91
114
  else
@@ -15,12 +15,15 @@ if [ "${GOOGLE_PLAY_READY:-false}" != "true" ]; then
15
15
 
16
16
  AAB_DIR="$APP_ROOT/build/app/outputs/bundle/release"
17
17
  AAB_FILE=$(find "$AAB_DIR" -name "*.aab" -type f 2>/dev/null | head -1)
18
+ AAB_INFO=""
18
19
  if [ -n "$AAB_FILE" ]; then
20
+ AAB_INFO="Built AAB: $AAB_FILE ($(du -h "$AAB_FILE" | cut -f1))"
19
21
  echo ""
20
- echo "Built AAB: $AAB_FILE ($(du -h "$AAB_FILE" | cut -f1))"
22
+ echo "$AAB_INFO"
21
23
  else
24
+ AAB_INFO="No AAB found. Run build.sh first."
22
25
  echo ""
23
- echo "No AAB found. Run build.sh first."
26
+ echo "$AAB_INFO"
24
27
  fi
25
28
 
26
29
  echo ""
@@ -32,6 +35,28 @@ if [ "${GOOGLE_PLAY_READY:-false}" != "true" ]; then
32
35
  echo " 5. Complete the release form and roll out"
33
36
  echo ""
34
37
  echo "After the first manual upload, subsequent releases will be automated."
38
+ echo "::warning title=Manual AAB Upload Required::First release must be uploaded manually. See job summary for instructions."
39
+ if [ -n "${GITHUB_STEP_SUMMARY:-}" ]; then
40
+ cat >> "$GITHUB_STEP_SUMMARY" << SUMMARY
41
+ ## :warning: Manual AAB Upload Required - First Release
42
+
43
+ Google Play is not ready for automated binary uploads. This is expected for the first release.
44
+
45
+ **$AAB_INFO**
46
+
47
+ ### How to upload manually:
48
+
49
+ 1. Go to [Google Play Console](https://play.google.com/console)
50
+ 2. Select your app (\`$PACKAGE_NAME\`)
51
+ 3. Navigate to **Release > Testing > Internal testing** (or your target track)
52
+ 4. Click **Create new release**
53
+ 5. Upload the AAB file built by CI
54
+ 6. Fill in release notes
55
+ 7. Complete the release form and click **Start rollout**
56
+
57
+ > After the first manual upload, all subsequent binary uploads will be fully automated by CI.
58
+ SUMMARY
59
+ fi
35
60
  exit 1
36
61
  fi
37
62
 
@@ -58,6 +58,29 @@ if [ $FASTLANE_EXIT -ne 0 ]; then
58
58
  # published. This resolves after the first manual release via the Play
59
59
  # Console, so we warn instead of failing the workflow.
60
60
  if echo "$FASTLANE_OUTPUT" | grep -qi "draft app"; then
61
+ echo "::warning title=Google Play Draft App::First manual release required. See job summary for instructions."
62
+ if [ -n "${GITHUB_STEP_SUMMARY:-}" ]; then
63
+ cat >> "$GITHUB_STEP_SUMMARY" << 'SUMMARY'
64
+ ## :warning: Google Play Draft App - Manual Action Required
65
+
66
+ Metadata upload could not be committed because the app is still in **draft state** on Google Play.
67
+
68
+ ### How to fix:
69
+
70
+ 1. Go to [Google Play Console](https://play.google.com/console)
71
+ 2. Select your app
72
+ 3. Navigate to **Release > Production** (or **Internal testing**)
73
+ 4. Click **Create new release**
74
+ 5. The AAB was already uploaded by CI -- select it
75
+ 6. Fill in release notes
76
+ 7. Complete **Store listing** (description, screenshots -- already uploaded by CI)
77
+ 8. Complete **Content rating** questionnaire
78
+ 9. Complete **Pricing & distribution** settings
79
+ 10. Click **Review release** then **Start rollout**
80
+
81
+ > After the first manual release, all subsequent CI metadata uploads will commit successfully without this error.
82
+ SUMMARY
83
+ fi
61
84
  ci_skip "App is in draft status — manual first release required on Google Play Console"
62
85
  fi
63
86
  exit $FASTLANE_EXIT