Skip to content

Commit

Permalink
numverparts2 oooops numverparts
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Feb 24, 2024
1 parent e355435 commit 86eba69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: ${{ env.isrrelease == 0 && env.ismaster == 0 }}
run: |
numver=$(echo "$currrelease" | sed -E 's/v([^-]*)/\1/')
numverparts=($(mapfile -d . -t numverparts2 < <(echo "$numver")))
mapfile -d . -t numverparts < <(echo "$numver")
len=${#numverparts[@]}
if [ "$len" -gt "2" ]; then
numver=${numverparts[0]}.${numverparts[1]}.$(( numverparts[2] + 1))
Expand Down

0 comments on commit 86eba69

Please sign in to comment.