@daemux/store-automator 0.10.12 → 0.10.13

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.12"
8
+ "version": "0.10.13"
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.12",
15
+ "version": "0.10.13",
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.12",
3
+ "version": "0.10.13",
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.12",
3
+ "version": "0.10.13",
4
4
  "description": "App Store & Google Play automation agents for Flutter app publishing",
5
5
  "author": {
6
6
  "name": "Daemux"
@@ -65,25 +65,27 @@ platform :android do
65
65
  end
66
66
 
67
67
  lane :upload_metadata_android do
68
- # Metadata (title, descriptions) and images/screenshots are app-level
69
- # properties, NOT release-level. Passing track/release_status causes
70
- # supply to create or update a release during the edit commit. For draft
71
- # apps (never published) Google rejects any non-draft release, the commit
72
- # fails, and ALL metadata changes are discarded.
73
- #
74
- # By omitting track, version_code, and release_status we upload only
75
- # store-listing data. The edit commits without touching any release.
68
+ # Fetch the latest version code from the track so supply can resolve
69
+ # the correct release when multiple exist on the same track.
70
+ codes = google_play_track_version_codes(
71
+ **base_play_store_options,
72
+ track: ENV.fetch("GOOGLE_PLAY_TRACK", "internal")
73
+ )
74
+ version_code = codes.first || ENV.fetch("VERSION_CODE", "1")
75
+ status = ENV.fetch("RELEASE_STATUS", "draft")
76
+
76
77
  link_screenshots_into_metadata
78
+
77
79
  upload_to_play_store(
78
- package_name: ENV["PACKAGE_NAME"],
79
- json_key: ENV["GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH"],
80
+ **base_play_store_options,
81
+ track: ENV.fetch("GOOGLE_PLAY_TRACK", "internal"),
82
+ version_code: version_code,
83
+ release_status: status,
84
+ changes_not_sent_for_review: true,
80
85
  skip_upload_aab: true,
81
86
  skip_upload_apk: true,
82
- skip_upload_metadata: false,
83
- skip_upload_screenshots: false,
84
- skip_upload_images: false,
85
- skip_upload_changelogs: true,
86
- metadata_path: METADATA_DIR
87
+ metadata_path: METADATA_DIR,
88
+ skip_upload_changelogs: true
87
89
  )
88
90
  end
89
91