commit | 00a88ec3ec659b67c7564c5b27f774a0749684de | [log] [tgz] |
---|---|---|
author | Alex Buynytskyy <alexbuy@google.com> | Fri May 05 22:10:53 2023 +0000 |
committer | Alex Buynytskyy <alexbuy@google.com> | Sat May 06 20:55:10 2023 +0000 |
tree | ec9c99b5c2a2ae2cf19db378547ae847b5822cf9 | |
parent | 19f8eb1423f2d7c058fc9f39b64807288e5d5eaa [diff] [blame] |
Script fixes and improvements. Fix to mark all versions REL. More robust patch application. Keep getting these build breakages, not sure why. Looks like git is confusing one folder for the other? https://android-build.googleplex.com/builds/submitted/10065142/test_suites_arm64/latest/logs/build_error.log Bug: 275409981 Test: run locally Change-Id: I6173b9ecae5e9ab12d9abf2eee3f2136dc353210
diff --git a/tools/finalization/finalize-sdk-rel.sh b/tools/finalization/finalize-sdk-rel.sh index 84ad2a7..62e5ee5 100755 --- a/tools/finalization/finalize-sdk-rel.sh +++ b/tools/finalization/finalize-sdk-rel.sh
@@ -34,7 +34,8 @@ revert_resources_sdk_int_fix # build/make/core/version_defaults.mk - sed -i -e "s/PLATFORM_VERSION_CODENAME.${FINAL_BUILD_PREFIX} := .*/PLATFORM_VERSION_CODENAME.${FINAL_BUILD_PREFIX} := REL/g" "$top/build/make/core/version_defaults.mk" + # Mark all versions "released". + sed -i 's/\(PLATFORM_VERSION_CODENAME\.[^[:space:]]*\) := [^[:space:]]*/\1 := REL/g' "$top/build/make/core/version_defaults.mk" # cts echo "$FINAL_PLATFORM_VERSION" > "$top/cts/tests/tests/os/assets/platform_versions.txt"