Move the appcast.xml to the website

This commit is contained in:
Sindre Sorhus 2017-05-25 23:39:17 +07:00
parent 13004290e9
commit 829e0c4661

View file

@ -1,26 +0,0 @@
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{{ site.github.project_title }}</title>
<description>Recent changes</description>
<language>en</language>
{% for release in site.github.releases %}
{% unless release.draft or release.prerelease %}
<item>
<title>{{ release.name }}</title>
<description><![CDATA[{{ release.body | markdownify }}]]></description>
<pubDate>{{ release.published_at | date_to_rfc822 }}</pubDate>
{% assign firstAsset = release.assets | first %}
<enclosure
url="{{ firstAsset.browser_download_url }}"
sparkle:version="{{ release.tag_name | remove_first:'v' }}"
length="{{ firstAsset.size }}"
type="application/octet-stream" />
</item>
{% endunless %}
{% endfor %}
</channel>
</rss>