Skip to content

Commit

Permalink
Hard code 0.43 branches
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Shipton <[email protected]>
  • Loading branch information
pshipton committed Jan 18, 2024
1 parent 9d6a32f commit 10c7d69
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions closed/get_j9_source.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.43.0-release
branches[omr]=v0.43.0-release

pflag=false

Expand Down

0 comments on commit 10c7d69

Please sign in to comment.