heroku_release 0.2.3 → 0.2.4
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/heroku_release.rb +2 -1
- data/lib/heroku_release/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
# 0.2.4 (Sep 27 2011)
|
4
|
+
|
5
|
+
* Bugfix: we would prompt twice for tag comment if it was not in an environment variable
|
6
|
+
|
3
7
|
# 0.2.3 (Sep 27 2011)
|
4
8
|
|
5
9
|
* Bugfix: The changelog file was missing the current release, it needs to include the tag that has not been added yet. The heroku_release:log was correct though. I considered removing the CHANGELOG file altogether to simplify things but I'm keeping it around since I like it (unfortunately the code is getting smelly now - refactoring needed).
|
data/Gemfile.lock
CHANGED
data/lib/heroku_release.rb
CHANGED
@@ -34,6 +34,7 @@ module HerokuRelease
|
|
34
34
|
|
35
35
|
def tag
|
36
36
|
release_name = get_release_name
|
37
|
+
tag_comment = get_tag_comment
|
37
38
|
quoted_tag_comment = single_quote(tag_comment)
|
38
39
|
|
39
40
|
if config.version_file_path || config.changelog_path
|
@@ -102,7 +103,7 @@ module HerokuRelease
|
|
102
103
|
string.gsub("'") { %q{'\''} } # quote single quotes
|
103
104
|
end
|
104
105
|
|
105
|
-
def
|
106
|
+
def get_tag_comment
|
106
107
|
return ENV['COMMENT'] if ENV['COMMENT']
|
107
108
|
if config.prompt_for_comments
|
108
109
|
print "Required - please enter a release comment: "
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: heroku_release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Peter Marklund
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-28 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -82,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
hash:
|
85
|
+
hash: 1602853448831888376
|
86
86
|
segments:
|
87
87
|
- 0
|
88
88
|
version: "0"
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
92
92
|
- - ">="
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
hash:
|
94
|
+
hash: 1602853448831888376
|
95
95
|
segments:
|
96
96
|
- 0
|
97
97
|
version: "0"
|