Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit 2cc64a6

Browse files
committed
Fix appcast template.
1 parent 357302f commit 2cc64a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

appcast/appcast.xml.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<% git = `sh /etc/profile; which git`.strip %>
2-
<% version = `#{git} describe --tags --always --abbrev=0`.strip %>
3-
<% build_number = `#{git} rev-list HEAD --count`.strip %>
1+
<%- git = `sh /etc/profile; which git`.strip -%>
2+
<%- version = `#{git} describe --tags --always --abbrev=0`.strip -%>
3+
<%- build_number = `#{git} rev-list HEAD --count`.strip -%>
44
<?xml version="1.0" encoding="utf-8"?>
55
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
66
<channel>

bin/publish_appcast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Generating appcast file..."
44

5-
ruby -rerb -rdate -e "puts ERB.new(File.read(\"appcast/appcast.xml.erb\")).result" > appcast/latestappcast.xml
5+
ruby -rerb -rdate -e "puts ERB.new(File.read(\"appcast/appcast.xml.erb\"), nil, '-').result" > appcast/latestappcast.xml
66

77
# remove all redundant files
88
find . -not -name "appcast" -not -name ".git" -maxdepth 1 -print0 | xargs -0 rm -rf --

0 commit comments

Comments
 (0)