summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-04-04 18:21:20 -0700
committerColin Cross <ccross@android.com>2022-04-04 18:21:20 -0700
commit19de5bf419ade482627bce9945cd6795bb600722 (patch)
tree3f55406a7967ec271471e847848efd31eefd01ac
parentd6c6ab38b72ac1a0fcef43dd680ea47c618bd951 (diff)
downloadjdk17-19de5bf419ade482627bce9945cd6795bb600722.tar.gz
Remove staging commit from update script
The extra staging commit was used for goma and is no longer necessary. Test: update prebuilts Change-Id: I5172cc5d17ba70bc78cdf2485b39faec84d71535
-rwxr-xr-xupdate.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/update.sh b/update.sh
index aeed907..08e7b61 100755
--- a/update.sh
+++ b/update.sh
@@ -40,13 +40,8 @@ cp linux-x86/bin/*_remote_toolchain_inputs staging/linux-x86/bin
version=$(staging/linux-x86/bin/java -version 2>&1 | grep "OpenJDK Runtime Environment" | sed -e 's/.*(\(.*\))/\1/')
-# Commit to staging
-git add staging
-git commit -m "Add JDK ${version} to staging
-
-Test: none"
-
-git rm -rf linux-x86 darwin-x86 manifest.xml
-git mv staging/* .
+rm -rf linux-x86 darwin-x86 manifest.xml
+mv staging/* .
rmdir staging
-git commit -m "Switch to JDK $version" --edit
+git add linux-x86 darwin-x86 manifest.xml
+git commit -m "Update to JDK $version" --edit