Skip to content

Commit cb91cd7

Browse files
committed
Hard code the v0.42.0-release branch names for OpenJ9/OMR
Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
1 parent 4f13efd commit cb91cd7

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

closed/get_j9_source.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# ===========================================================================
4-
# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
4+
# (c) Copyright IBM Corp. 2017, 2024 All Rights Reserved
55
# ===========================================================================
66
#
77
# This code is free software; you can redistribute it and/or modify it
@@ -66,14 +66,8 @@ declare -A references
6666
git_urls[openj9]=https://github.com/eclipse-openj9/openj9
6767
git_urls[omr]=https://github.com/eclipse-openj9/openj9-omr
6868

69-
currentbranch=$(git rev-parse --abbrev-ref HEAD)
70-
if [[ "$currentbranch" =~ v[0-9]+\.[0-9]+(\.[0-9]+)?-release ]] ; then
71-
branches[openj9]=$currentbranch
72-
branches[omr]=$currentbranch
73-
else
74-
branches[openj9]=master
75-
branches[omr]=openj9
76-
fi
69+
branches[openj9]=v0.42.0-release
70+
branches[omr]=v0.42.0-release
7771

7872
pflag=false
7973

0 commit comments

Comments
 (0)