INNER CODE UNIT · Python

main

blokadaorg/blokada · scripts/version.py:72

def main():
    parser = argparse.ArgumentParser(
        description="Update Android and iOS project versions using provided version name and version code."
    )
    parser.add_argument(
        "--android-file",
        required=True,
        help="Path to the Android build file (e.g., app/build.gradle) containing versionName and versionCode."
    )
    parser.add_argument(
        "--xcodeproj-file",
        required=True,
        help="Path to the Xcode project file (e.g., MyApp.xcodeproj/project.pbxproj) containing CURRENT_PROJECT_VERSION and MARKETING_VERSION."
    )
    parser.add_argument(
        "--version-name",
        required=True,
        help="Version name (e.g., 1.2.3 or 1.2.3/debug, where only the part before '/' will be used)."

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…