Skip to content

Commit cc03df9

Browse files
DIYgodclaude
andcommitted
fix(store-assets): match existing creative asset placements by image
The placements list only carries the image relationship when the image is included, so `app-store-creative.ts assign` saw every placement as pointing elsewhere and would have replaced all of them on each run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0dca01f commit cc03df9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎store-assets/scripts/app-store-creative.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ const assign = async () => {
158158
localization.id,
159159
"--placement-type",
160160
placementTypes.join(","),
161+
// Without it the placements carry no image relationship to compare.
162+
"--include",
163+
"image",
161164
])
162165
for (const type of placementTypes) {
163166
const current = placements.filter((p) => p.attributes.placementType === type)

0 commit comments

Comments
 (0)