1 parent 6f0b556 commit fd8672bCopy full SHA for fd8672b
1 file changed
.github/workflows/deploy-github-pages.yml
@@ -355,8 +355,7 @@ jobs:
355
--exclude-drafts \
356
--limit 50 \
357
--json tagName \
358
- --jq ".[] | select(.tagName != \"$RELEASE_TAG\") | .tagName" \
359
- | head -n 1
+ --jq "map(select(.tagName != \"$RELEASE_TAG\")) | first | .tagName // \"\""
360
)"
361
362
if [ -n "$previous_tag" ] && git rev-parse --verify "${previous_tag}^{commit}" >/dev/null 2>&1; then
0 commit comments