visionmedia-release 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. data/History.rdoc +4 -0
  2. data/bin/re +6 -4
  3. data/release.gemspec +2 -2
  4. metadata +2 -2
@@ -1,4 +1,8 @@
1
1
 
2
+ === 0.2.1 / 2009-03-09
3
+
4
+ * Fixed history when using --dry-run, no longer attempts to add git log to the change log
5
+
2
6
  === 0.2.0 / 2009-03-06
3
7
 
4
8
  * Forgot gemspec (github build away!)
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.2.0'
8
+ program :version, '0.2.1'
9
9
  program :description, 'Github release management'
10
10
 
11
11
  CONFIG_FILE = File.expand_path('~/.re-config')
@@ -142,9 +142,11 @@ command :bump do |c|
142
142
  if o.history
143
143
  banner = "\n=== #{version} / #{ Time.now.strftime('%Y-%m-%d') }\n"
144
144
  changes = sh "git log --pretty=#{o.format} -#{o.commits}", false
145
- previous = File.read locate_history_file
146
- File.open(locate_history_file, 'w') do |file|
147
- file.write [banner, changes, previous].join("\n")
145
+ unless o.dry_run
146
+ previous = File.read locate_history_file
147
+ File.open(locate_history_file, 'w') do |file|
148
+ file.write [banner, changes, previous].join("\n")
149
+ end
148
150
  end
149
151
  sh "$EDITOR #{locate_history_file} --wait"
150
152
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{release}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
9
- s.date = %q{2009-03-06}
9
+ s.date = %q{2009-03-09}
10
10
  s.default_executable = %q{re}
11
11
  s.description = %q{Github release management system}
12
12
  s.email = %q{tj@vision-media.ca}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visionmedia-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-06 00:00:00 -08:00
12
+ date: 2009-03-09 00:00:00 -07:00
13
13
  default_executable: re
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency