From cb91cd755e3a0c7832e4f84eae258a8d19de4ec9 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Tue, 9 Jan 2024 13:32:33 -0500 Subject: [PATCH] Hard code the v0.42.0-release branch names for OpenJ9/OMR Signed-off-by: Peter Shipton --- closed/get_j9_source.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/closed/get_j9_source.sh b/closed/get_j9_source.sh index d21de3d37fb..ad63f392894 100644 --- a/closed/get_j9_source.sh +++ b/closed/get_j9_source.sh @@ -1,7 +1,7 @@ #!/bin/bash # =========================================================================== -# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved +# (c) Copyright IBM Corp. 2017, 2024 All Rights Reserved # =========================================================================== # # This code is free software; you can redistribute it and/or modify it @@ -66,14 +66,8 @@ declare -A references git_urls[openj9]=https://github.com/eclipse-openj9/openj9 git_urls[omr]=https://github.com/eclipse-openj9/openj9-omr -currentbranch=$(git rev-parse --abbrev-ref HEAD) -if [[ "$currentbranch" =~ v[0-9]+\.[0-9]+(\.[0-9]+)?-release ]] ; then - branches[openj9]=$currentbranch - branches[omr]=$currentbranch -else - branches[openj9]=master - branches[omr]=openj9 -fi +branches[openj9]=v0.42.0-release +branches[omr]=v0.42.0-release pflag=false