Skip to content

Commit

Permalink
added debug steps for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan M Smolenski committed Jan 26, 2024
1 parent 6e3eebf commit 8dd3e63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_shortnames.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
echo "$prname"
COLLECTION_ID=$(echo $prname |sed -E 's/diff\/[uatops]+\///')
echo "$COLLECTION_ID"
cat cmr_metadata_uat.json | jq -r '.items[] | select(.meta."concept-id" == "$COLLECTION_ID")'
cat cmr_metadata_uat.json | jq -r '.items[] | select(.meta."concept-id" == "$COLLECTION_ID")'>shortname.txt
cat shortname.txt
exit
Expand Down

0 comments on commit 8dd3e63

Please sign in to comment.