visionmedia-release 0.1.6 → 0.1.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 +2 -2
- data/bin/re +4 -4
- 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.1.
|
|
8
|
+
program :version, '0.1.7'
|
|
9
9
|
program :description, 'Github release management'
|
|
10
10
|
|
|
11
11
|
CONFIG_FILE = File.expand_path('~/.re-config')
|
|
@@ -14,8 +14,8 @@ trap 'INT' do
|
|
|
14
14
|
raise "release interrupted"
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
def sh command
|
|
18
|
-
|
|
17
|
+
def sh command, nullify = true
|
|
18
|
+
nullify ? `#{command} &> /dev/null` : `#{command}`
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def extract_version_from file
|
|
@@ -131,7 +131,7 @@ command :bump do |c|
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
if o.dry_run
|
|
134
|
-
def sh command
|
|
134
|
+
def sh command, nullify = true
|
|
135
135
|
log "`#{command}`"
|
|
136
136
|
end
|
|
137
137
|
version = bump_version(o.file, level).join '.'
|
data/release.gemspec
CHANGED