Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: use published release (#673)

ologbonowiwi7922064dda8c
diff --git a/.github/scripts/generate_changelog_md.sh b/.github/scripts/generate_changelog_md.sh
index ed6242c3e..0073d2d0e 100755
--- a/.github/scripts/generate_changelog_md.sh
+++ b/.github/scripts/generate_changelog_md.sh
@@ -17,7 +17,7 @@ else
CN_CMD=cn
fi
-LAST_RELEASE=$($CN_CMD release list screenpipe --api-key $CN_API_KEY --format json | jq '.[0]')
+LAST_RELEASE=$($CN_CMD release list screenpipe --api-key $CN_API_KEY --format json | jq '.[0] | select(.status == "Published")')
COMMIT_DATE_LAST_RELEASE=$(echo $LAST_RELEASE | jq '.createdAt')
# Format date for git (remove quotes if present)