diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7e73f33..13f885d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,6 +21,7 @@ jobs: id: get_version run: | # Get the latest tag, filter to versions with "v" prefix, sort them by version, and take the latest + git fetch --tags git describe --tags --match "v[0-9]*" --abbrev=0 VERSION=$(git describe --tags --match "v[0-9]*" --abbrev=0 2>/dev/null || echo "v0.0.0") echo "Current version: $VERSION"