Skip to content

Commit

Permalink
add new release after minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
whomwah committed Nov 21, 2013
1 parent a000352 commit 4d774ba
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 31 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ or build a real app using:

`rake build`

which will create a real app in the `build` dir, you can put in your Applications folder.
which will create a real app in the `build` dir, you can put in your Applications folder.

# Build new version

<pre>
rake sparkle:clean
rake sparkle:package
</pre>

You will need to copy the contents of sparkle/releases into the root files
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'KyanBar'
app.icon = "icon.icns"
# app.version = "1.0.2"
# app.short_version = '1'
app.identifier = 'com.kyan.'
app.deployment_target = '10.8'

Expand All @@ -26,12 +24,12 @@ Motion::Project::App.setup do |app|

app.sparkle do
release :base_url, 'https://raw.github.com/kyan/kyan_bar/master'
release :version, '1.0.2'
release :version, '1.0.3'

# Optional settings
release :feed_filename, 'releases.xml'
release :package_filename, "#{app.name}.zip"
#release :notes_filename, 'release_notes.html'
#release :public_key, 'dsa_pub.pem'
release :public_key, 'dsa_pub.pem'
release :notes_filename, 'release_notes.html'
end
end
6 changes: 6 additions & 0 deletions app/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ def setupMenu
mi.action = 'orderFrontStandardAboutPanel:'
menu.addItem mi

mi = NSMenuItem.new
mi.title = 'Check for updates...'
mi.action = 'checkForUpdates:'
mi.target = SUUpdater.new
menu.addItem mi

add_seperator(menu)

links.each_with_index do |data, i|
Expand Down
25 changes: 5 additions & 20 deletions release_notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,15 @@
dd p {margin: 2px 0; padding: 0;}
</style>
</head>

<body>

<h1>Your app - version x.yz</h1>
<h2>The greatest update ever</h2>
<h1>KyanBar - version 1.0.3</h1>
<h2>About Page Change and Retry Connection</h2>

<dl>
<dt>An interface to drool for</dt>
<dd>I won't say too much (wouldn't want to spoil the surprise)</dd>
<dt>Record-breaking performance</dt>
<dd>
<p>
We keep doing it every time and you start to be less impressed, but we're still very proud of ourselves! We could write about our performance for hours, and make you read it for days!
</p>
<p>
<strong>What for?</strong>
<br>
This does serve a purpose, however, and it is to show you how a longer text would look like. It'll help you figure out your style.
</p>
<p>
Just do the same for your app now :)
</p>
</dd>
<dt>Will retry connection to websocket server if lost</dt>
</dl>


</body>
</html>
</html>
10 changes: 5 additions & 5 deletions releases.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
en
</language>
<pubDate>
Thu, 21 Nov 2013 12:28:02 +0000
Thu, 21 Nov 2013 12:51:34 +0000
</pubDate>
<atom:link href='https://raw.github.com/kyan/kyan_bar/master/releases.xml' rel='self' type='application/rss+xml'/>
<item>
<title>
KyanBar 1.0.2
KyanBar 1.0.3
</title>
<pubDate>
Thu, 21 Nov 2013 12:28:02 +0000
Thu, 21 Nov 2013 12:51:34 +0000
</pubDate>
<guid isPermaLink='false'>
KyanBar-1.0.2
KyanBar-1.0.3
</guid>
<sparkle:releaseNotesLink>
https://raw.github.com/kyan/kyan_bar/master/release_notes.html
</sparkle:releaseNotesLink>
<enclosure url='https://github.com/kyan/kyan_bar/releases/download/1.0.2/KyanBar.zip' length='3285377' type='application/octet-stream' sparkle:version='1.0.2' sparkle:dsaSignature='MCwCFGB7KrWOR3jtDTwl4L3FxsSu5pGcAhRo249vuA1MbkHoFrzMwyhoJsLHpw=='/>
<enclosure url='https://github.com/kyan/kyan_bar/releases/download/1.0.3/KyanBar.zip' length='3285377' type='application/octet-stream' sparkle:version='1.0.3' sparkle:dsaSignature='MC0CFQCkbPpDNl7LJtC/OvN+L57zHBDwPwIUK5C8TvsEqkz7IxCzfW97MBNsU6U='/>
</item>
</channel>
</rss>
3 changes: 3 additions & 0 deletions resources/Credits.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>Thanks to the Authors of these wonderful libraries</p>
<p><a href="http://sparkle.andymatuschak.org/">Sparkle</a><br />A free software update framework for the Mac</p>
<p><a href="https://github.com/square/SocketRocket">SocketRocket</a><br />A conforming Objective-C WebSocket client library</p>

0 comments on commit 4d774ba

Please sign in to comment.