glitter 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -31,10 +31,10 @@ It should also be noted that Glitter uses HTTPS S3 URLs to eliminate the need fo
31
31
 
32
32
  $ glitter push -m 'Added some really cool stuff to the mix!'
33
33
  Pushing app my-app-1.0.0.zip
34
- App pushed to https://s3.amazonaws.com/my_app/my-app-1.0.0.zip
34
+ Asset pushed to https://s3.amazonaws.com/my_app/my-app-1.0.0.zip
35
+ Updated head https://s3.amazonaws.com/my_app/my-app-head.zip to https://s3.amazonaws.com/my_app/my-app-1.0.0.zip
35
36
  Updated https://s3.amazonaws.com/my_app/appcast.xml
36
37
 
37
-
38
38
  That's it!
39
39
 
40
40
  # License
@@ -178,14 +178,14 @@ module Glitter
178
178
  method_option :release_notes, :type => :string, :aliases => "-m"
179
179
  def push
180
180
  puts "Pushing app #{app.latest.object_name}"
181
-
181
+ # Push the latest release with release notes
182
182
  app.latest.notes = options[:release_notes]
183
183
  app.latest.push
184
184
  puts "Asset pushed to #{app.latest.url}"
185
-
186
- app.latest.head
185
+ app.latest.head # Sets this release as the head.
187
186
  puts "Updated head #{app.latest.head.url} to #{app.latest.url}"
188
-
187
+ # Update the appcast file
188
+ app.appcast.push
189
189
  puts "Updated #{app.appcast.url}"
190
190
  end
191
191
 
@@ -1,3 +1,3 @@
1
1
  module Glitter
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glitter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brad Gessler