Update release workflow
Some checks failed
Release / release (push) Failing after 2s

This commit is contained in:
2026-03-08 23:52:05 +00:00
parent 4ce59f537c
commit 877b8e9a04

View File

@@ -21,7 +21,9 @@ jobs:
VERSION=$(cat VERSION | tr -d '[:space:]') # read version and trim whitespace
echo "Version: $VERSION"
if git rev-parse "v$VERSION" >/dev/null 2>&1; then
# if git rev-parse "v$VERSION" >/dev/null 2>&1; then
tags=$(git tag -l "v$(cat VERSION)" | wc -l)
if [[ $tags == "1" ]]; then
echo "Tag v$VERSION already exists. Skipping release."
exit 0
fi