Skip to content

Commit 2dd2ab6

Browse files
committed
Merge branch 'develop' of gregorydlogan/opencast-admin-interface into develop
Pull request #1472 Fix cutting a release on develop
2 parents 312649d + 3563f7e commit 2dd2ab6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-cut-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
#Translate 'develop' to 18.x or whatever is appropriate
2626
if [ "develop" == "${{ github.ref_name }}" ]; then
2727
#NB normally we only clone just the head ref, but fetch-depth: 0 above gets *all* the history
28-
export TEMP="$((`git branch -a | grep r/ | cut -f 4 -d '/' | cut -f 1 -d '.'` + 1)).x"
28+
export TEMP="$((`git branch -a | grep r/ | cut -f 4 -d '/' | head -n 1 | cut -f 1 -d '.'` + 1)).x"
2929
else
3030
export TEMP=${{ github.ref_name }}
3131
fi

0 commit comments

Comments
 (0)