Skip to content

Commit fbcb5fe

Browse files
committed
Fix tag creation
1 parent dc3c732 commit fbcb5fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/create-tag.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
2929
IFS='.' read -r -a parts <<< "${latest_tag}"
3030
((parts[1]++))
31-
new_tag="${parts[0]}.${parts[1]}"
32-
echo "${new_tag}" : $VERSION
31+
echo "VERSION=${parts[0]}.${parts[1]}" >> $GITHUB_ENV
3332
- name: Create release
3433
uses: actions/create-release@v1
3534
env:
3635
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3736
with:
38-
tag_name: ${{ vars.VERSION }}
37+
tag_name: ${{ env.VERSION }}

0 commit comments

Comments
 (0)