Debian Codegraph @

src/briefcase/channels/appstore.py

raw
1 from __future__ import annotations
2
3 from typing import TYPE_CHECKING
4
5 from briefcase.channels.base import BasePublicationChannel
6 from briefcase.exceptions import BriefcaseCommandError
7
8 if TYPE_CHECKING:
9 from briefcase.channels.base import PublishCommandAPI
10 from briefcase.config import AppConfig
11
12
13 class AppStorePublicationChannel(BasePublicationChannel):
14 """Placeholder for iOS App Store publication channel."""
15
16 @property
17 def name(self) -> str:
18 return "appstore"
19
20 def publish_app(self, app: AppConfig, command: PublishCommandAPI, **options):
21 raise BriefcaseCommandError(
22 "Publishing to the iOS App Store is not yet implemented.\n"
23 "\n"
24 "See https://github.com/beeware/briefcase/issues/2697 for progress."
25 )