Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
Change-Id: Ieff173ac767312137914b6834be589b950e499ee
Signed-off-by: Nick Boldt <[email protected]>
  • Loading branch information
nickboldt committed Sep 11, 2023
1 parent 9b824dc commit 54cf84f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-check-unmerged-PRs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
releaseVersionString=""
if [[ ${{ github.event.inputs.version }} != "" ]]; then
[[ $BRANCH =~ ^([0-9]+)\.([0-9]+) ]] && BASE=${BASH_REMATCH[1]}; NEXT=${BASH_REMATCH[2]}; (( NEXT=NEXT+1 )) # for BRANCH=7.74, get BASE=7, NEXT=75
versionNext="${BASE}.${NEXT}"
VER_Y="${{ github.event.inputs.version }}"
[[ $VER_Y =~ ^([0-9]+)\.([0-9]+) ]] && VER_X=${BASH_REMATCH[1]}; NEXT=${BASH_REMATCH[2]}; (( NEXT=NEXT+1 )) # for BRANCH=7.74, get BASE=7, NEXT=75
versionNext="${VER_X}.${NEXT}"
releaseVersionString="|${{ github.event.inputs.version }}|${versionNext}"
fi
grepString="chore: Bump to |release${releaseVersionString}"
Expand Down

0 comments on commit 54cf84f

Please sign in to comment.