visionmedia-release 0.3.6 → 0.3.7
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/History.rdoc +4 -0
- data/bin/re +3 -8
- data/release.gemspec +1 -1
- metadata +1 -1
data/History.rdoc
CHANGED
data/bin/re
CHANGED
|
@@ -5,7 +5,7 @@ require 'commander'
|
|
|
5
5
|
require 'yaml'
|
|
6
6
|
|
|
7
7
|
program :name, 'release'
|
|
8
|
-
program :version, '0.3.
|
|
8
|
+
program :version, '0.3.7'
|
|
9
9
|
program :description, 'Github release management'
|
|
10
10
|
|
|
11
11
|
default_command :bump
|
|
@@ -62,7 +62,6 @@ def bump_options c
|
|
|
62
62
|
c.option '-R', '--no-rake', 'Disable all rake tasks'
|
|
63
63
|
c.option '-H', '--history', 'Edit history in EDITOR before releasing'
|
|
64
64
|
c.option '-d', '--dry-run', 'Performs a dry run, without releasing'
|
|
65
|
-
c.option '-t', '--trace', 'Output callstack when an exception is raised'
|
|
66
65
|
c.option '-F', '--format FORMAT', 'Valid git log --pretty format. Defaults to "format:\'* %s\'"'
|
|
67
66
|
c.option '-M', '--verify-master', 'Verify that master is the current branch before releasing'
|
|
68
67
|
end
|
|
@@ -194,12 +193,8 @@ command :bump do |c|
|
|
|
194
193
|
end
|
|
195
194
|
|
|
196
195
|
rescue Exception => e
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
else
|
|
200
|
-
log "release failed: #{e}\n"
|
|
201
|
-
notify_error "Release failed"
|
|
202
|
-
end
|
|
196
|
+
notify_error "Release failed"
|
|
197
|
+
raise
|
|
203
198
|
else
|
|
204
199
|
notify_ok "Release #{version} complete"
|
|
205
200
|
end
|
data/release.gemspec
CHANGED