You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "❌ One or more artifacts exceeded the 5% size increase limit"
267
-
exit 1
255
+
# Check if increase is more than 5%
256
+
if (( $(echo "$INCREASE > 5" | bc -l) )); then
257
+
echo "❌ ERROR: $artifact size increased by ${INCREASE}% (limit: 5%)"
258
+
FAILED=1
268
259
fi
260
+
done
269
261
270
-
echo "✅ All artifacts within 5% size increase limit"
262
+
if [ $FAILED -eq 1 ]; then
263
+
echo ""
264
+
echo "❌ One or more artifacts exceeded the 5% size increase limit"
265
+
exit 1
271
266
fi
267
+
268
+
echo "✅ All artifacts within 5% size increase limit"
269
+
fi
270
+
271
+
if [[ "$VERSION" != "$LATEST" || "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
272
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
272
273
else
273
274
echo "::warning file=src/sqlite-vector.h::To release a new version, please update the SQLITE_VECTOR_VERSION in src/sqlite-vector.h to be different than the latest $LATEST"
0 commit comments