diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2620ab8..d2e6015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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