workflow: fix tag release check

This commit is contained in:
amazingfate
2024-09-16 02:51:57 +08:00
parent 4006e6aafd
commit 36ac73f0b7

View File

@@ -52,7 +52,7 @@ jobs:
echo "$(dpkg-parsechangelog -S Changes)" >> $GITHUB_ENV
echo '```' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
if [[ -n "$(git tag -l "$version")" ]]
if [[ -z "$(git tag -l "$version")" ]]
then
echo "distro=UNRELEASED" >> $GITHUB_ENV
else