Skip to content

Commit

Permalink
Make valid json out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
coppolaemilio committed May 31, 2024
1 parent d58271f commit 1a860bb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
"name": "{{ v.flavor }}",
"release_date": "{{ v.release_date }}",
"release_notes": "{{ v.release_notes | replace: "/article/", "https://godotengine.org/article/" }}"
},
{% if v.releases %}},{% else %}}{% endif %}
{% for r in v.releases %}
{
"name": "{{ r.name }}",
"release_date": "{{ r.release_date }}",
"release_notes": "{{ r.release_notes | replace: "/article/", "https://godotengine.org/article/" }}"
},
{% if forloop.last %}}{% else %}},{% endif %}

{% endfor %}
]
},
{% if forloop.last %}}{% else %}},{% endif %}
{% endfor %}
]

0 comments on commit 1a860bb

Please sign in to comment.