We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062c624 commit 0c253a6Copy full SHA for 0c253a6
.github/workflows/packages_release.yaml
@@ -67,8 +67,13 @@ jobs:
67
68
# Use jq to check if the specific package is in the array
69
# Ensure the JSON is valid by echoing it into jq
70
+
71
+ set +e # Disable immediate exit on non-zero return
72
echo "$packages" | jq -e '[.[] | select(.name == "@powersync/service-image")] | length > 0' > /dev/null
- if [ $? -eq 0 ]; then
73
+ jq_exit_code=$?
74
+ set -e # Re-enable immediate exit
75
76
+ if [ $jq_exit_code -eq 0 ]; then
77
echo "release_created=true" >> $GITHUB_OUTPUT
78
else
79
echo "release_created=false" >> $GITHUB_OUTPUT
0 commit comments