work damnit

This commit is contained in:
Jon 2022-03-31 19:55:09 +01:00
parent a06355d913
commit b0e36c1a8e

View File

@ -4,9 +4,11 @@ reactions="$(yq . /dev/stdin < reactions.yaml)"
jq -n --argjson reactions "$reactions" \
'[
$reactions[] | {
annotation: .emoji,
label: .emoji,
emoticon: .emoji,
hexcode: "2721",
unicode: .emoji,
shortcodes: [ .emoji ],
tags: (.tags? + [ .emoji ]),
emoji: .emoji,