chore(release): prepare 2.6.0 with bundled Android helper
This commit is contained in:
1 parent
dc3a48f6b2
commit
73adcf25a7
8 files changed
+69
-9
No files matched your search
@@ -88,6 +88,7 @@ EXCLUDED_SUFFIXES = {
|
||||
|
||||
GIT_METADATA_FILES = {"HEAD", "config", "index", "shallow", "packed-refs"}
|
||||
GIT_METADATA_DIRS = {"objects", "refs"}
|
||||
RUNTIME_PAYLOADS = {"packages/artemis-accessibility-helper/ArtemisAccessibilityHelper.apk"}
|
||||
|
||||
|
||||
def excluded(path: Path) -> bool:
|
||||
@@ -104,6 +105,10 @@ def excluded(path: Path) -> bool:
|
||||
return True
|
||||
if name in {".ds_store", "thumbs.db", ".ipc_port", ".ls_address", ".npmrc", ".pypirc"}:
|
||||
return True
|
||||
# The tracked helper is needed at runtime on fresh Android installations.
|
||||
# Keep this exact payload, while excluding unrelated APKs and build outputs.
|
||||
if path.as_posix() in RUNTIME_PAYLOADS:
|
||||
return False
|
||||
return path.suffix.lower() in EXCLUDED_SUFFIXES or name.endswith((".db-wal", ".db-shm", "~"))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user