Skip to content

Commit b13574e

Browse files
Merge pull request #22 from pebble-dev/compat_fix
Use compatibility from new .pbw
2 parents 8d7947f + 854aef5 commit b13574e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appstore/developer_portal_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def submit_new_release(app_id):
303303
release_notes=data["release_notes"],
304304
published_date=datetime.datetime.utcnow(),
305305
version=version,
306-
compatibility=release_old.compatibility)
306+
compatibility=appinfo.get('targetPlatforms', ['aplite', 'basalt', 'diorite', 'emery']))
307307

308308
upload_pbw(release_new, request.files['pbw'])
309309
db.session.commit()

0 commit comments

Comments
 (0)