Update crate updater to use internal rather than AOSP. Test: cargo run -- ~/src/main-for-crate-updates/ Change-Id: I460d22026a68452d05b38eaa7f5a93ec9776c9e5
diff --git a/tools/crate-updater/src/main.rs b/tools/crate-updater/src/main.rs index 0b2afc1..79dcf47 100644 --- a/tools/crate-updater/src/main.rs +++ b/tools/crate-updater/src/main.rs
@@ -28,7 +28,7 @@ #[derive(Parser)] struct Cli { - /// Absolute path to a repo checkout of aosp-main. + /// Absolute path to a repo checkout of main-without-vendor. /// It is strongly recommended that you use a source tree dedicated to /// running this updater. android_root: PathBuf, @@ -96,7 +96,7 @@ .run_and_stream_output()?; Command::new("git") - .args(["checkout", "aosp/main"]) + .args(["checkout", "goog/main"]) .current_dir(monorepo_path) .run_and_stream_output()?; @@ -132,7 +132,7 @@ let output = Command::new("/google/data/ro/projects/android/ab") .args([ "lkgb", - "--branch=aosp-main", + "--branch=git_main-without-vendor", "--target=aosp_arm64-trunk_staging-userdebug", "--raw", "--custom_raw_format={o[buildId]}",