Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dissectum committed Sep 14, 2023
1 parent 2de9f3b commit 20f1cb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
if ! $($is_release) ; then
prefix=${tag%-*-*}
suffix=${tag#$prefix-}
v=${prefix##*.}
next=${prefix##*.}
((next++))
echo $next
prefix=${prefix%.*}
((v++))
tag="$prefix.$v-Preview.$suffix"
tag="$prefix.$next-Preview.$suffix"
fi
echo tag=$tag | tee -a $GITHUB_OUTPUT
echo version=${tag#v} | tee -a $GITHUB_OUTPUT
Expand Down

0 comments on commit 20f1cb1

Please sign in to comment.