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 f7ebdf8 commit a93036c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
fetch-depth: 0
- id: meta
run: |
a=1
echo $a
((a++))
echo $a
is_release=${{ startsWith(github.ref, 'refs/tags/v') }}
tag=$(git describe --tags --match "v*" ${{ github.ref }} || true)
if [[ $tag != v* ]]; then
Expand All @@ -40,9 +44,7 @@ jobs:
prefix=${tag%-*-*}
suffix=${tag#$prefix-}
next=${prefix##*.}
echo 0
((next++))
echo 1
prefix=${prefix%.*}
tag="$prefix.$next-Preview.$suffix"
fi
Expand Down

0 comments on commit a93036c

Please sign in to comment.