fix release detection

pull/1118/head
Willy 2023-02-03 20:00:38 +01:00
parent a900a95b5a
commit c9a9d1f119
No known key found for this signature in database
GPG Key ID: 02E60AE5D9208602
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ jobs:
id: versions
run: |
TAG=$(git describe --tags)
if [ "${{ github.ref }}" = "refs/heads/$TAG" ]; then
if [ "${{ github.ref }}" = "refs/tags/$TAG" ]; then
echo "is_release=true" >> $GITHUB_OUTPUT
if [[ $TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]$ ]]; then
echo "is_prerelease=false" >> $GITHUB_OUTPUT