Fix readme_sync.yml unstable version check

This commit is contained in:
Silvano Cerza 2024-10-30 15:34:53 +01:00
parent afdeaf5a62
commit 8271b2d80b

View File

@ -52,7 +52,7 @@ jobs:
# stable docs, for the time being we're ok with that.
# `main` branch docs will be handled correctly too and get pushed to an
# unstable documentation.
IS_UNSTABLE=$(hatch version | grep -v -q "0-rc")
IS_UNSTABLE="$(hatch version | grep -v -q '0-rc')"
if [ "$IS_UNSTABLE" ]; then
VERSION="$VERSION-unstable"
fi