Changed formatting for changelogs.
Updated TODO.
This commit is contained in:
parent
c860803568
commit
9eaad00043
2 changed files with 17 additions and 8 deletions
|
@ -19,6 +19,22 @@ if appcast_revision < latest_revision
|
||||||
#Get the changelog
|
#Get the changelog
|
||||||
changelog = %x[svn log -r #{latest_revision}:#{appcast_revision+1}]
|
changelog = %x[svn log -r #{latest_revision}:#{appcast_revision+1}]
|
||||||
|
|
||||||
|
description = ''
|
||||||
|
ignore_next = false
|
||||||
|
changelog.each_line do |line|
|
||||||
|
if (ignore_next)
|
||||||
|
ignore_next = false
|
||||||
|
next
|
||||||
|
end
|
||||||
|
if Regexp.new('^-+$').match(line)
|
||||||
|
ignore_next = true
|
||||||
|
next
|
||||||
|
elsif Regexp.new('^\s*$').match(line)
|
||||||
|
next
|
||||||
|
end
|
||||||
|
description += line
|
||||||
|
end
|
||||||
|
|
||||||
#Remove the previous build directories
|
#Remove the previous build directories
|
||||||
%x[find . -type d -name build -print0 | xargs -0 rm -r ]
|
%x[find . -type d -name build -print0 | xargs -0 rm -r ]
|
||||||
|
|
||||||
|
@ -59,7 +75,7 @@ if appcast_revision < latest_revision
|
||||||
new_item.elements['title'].text = "Cog r#{latest_revision}"
|
new_item.elements['title'].text = "Cog r#{latest_revision}"
|
||||||
|
|
||||||
new_item.add_element('description')
|
new_item.add_element('description')
|
||||||
new_item.elements['description'].text = changelog
|
new_item.elements['description'].text = description
|
||||||
|
|
||||||
new_item.add_element('pubDate')
|
new_item.add_element('pubDate')
|
||||||
new_item.elements['pubDate'].text = Time.now().strftime("%a, %d %b %Y %H:%M:%S %Z") #RFC 822
|
new_item.elements['pubDate'].text = Time.now().strftime("%a, %d %b %Y %H:%M:%S %Z") #RFC 822
|
||||||
|
|
7
TODO
7
TODO
|
@ -1,11 +1,4 @@
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
# Short files: http://sbooth.org/forums/viewtopic.php?p=4304
|
|
||||||
Broken MP3: http://sbooth.org/forums/viewtopic.php?t=1103
|
Broken MP3: http://sbooth.org/forums/viewtopic.php?t=1103
|
||||||
# Shorten files: http://sbooth.org/forums/viewtopic.php?p=4305
|
|
||||||
Windows M3U paths: http://sbooth.org/forums/viewtopic.php?t=1209
|
Windows M3U paths: http://sbooth.org/forums/viewtopic.php?t=1209
|
||||||
? Playlist display: http://sbooth.org/forums/viewtopic.php?t=1050
|
? Playlist display: http://sbooth.org/forums/viewtopic.php?t=1050
|
||||||
|
|
||||||
Nightlies:
|
|
||||||
Fix path inside nightly builds.
|
|
||||||
Make preference for update channels. Stable, Unstable, and Nightly.
|
|
||||||
Get sparkle working with nightlies!
|
|
||||||
|
|
Loading…
Reference in a new issue