Skip to content

Commit

Permalink
Fix jq to handle missing metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Dec 17, 2024
1 parent b8e76cf commit 96961e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows.src/build.inc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
shell: bash
run: |
rev=$(git rev-parse HEAD)
jq_filter='.packages[] | select(.basename == "edgedb-cli") | select(.architecture == $ARCH) | .version_details.metadata.scm_revision | . as $rev | select($REV | startswith($rev))'
jq_filter='.packages[] | select(.basename == "edgedb-cli") | select(.architecture == $ARCH) | .version_details.metadata.scm_revision | select(. != null) | . as $rev | select($REV | startswith($rev))'
<% for tgt in targets.linux %>
val=true
<% if tgt.family == "debian" %>
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96961e4

Please sign in to comment.