summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/update.sh b/update.sh
index 605c54e..74eef70 100755
--- a/update.sh
+++ b/update.sh
@@ -49,13 +49,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 darwin-arm64 manifest.xml
-git mv staging/* .
+mv staging/* .
rmdir staging
-git commit -m "Switch to JDK $version" --edit
+git add linux-x86 darwin-x86 darwin-arm64 manifest.xml
+git commit -m "Update to JDK $version" --edit