glitter 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/glitter.rb +4 -4
- data/lib/glitter/version.rb +1 -1
- metadata +3 -3
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
|
-
|
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
|
data/lib/glitter.rb
CHANGED
@@ -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
|
|
data/lib/glitter/version.rb
CHANGED
metadata
CHANGED