step-up 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/GEM_VERSION +1 -1
- data/Gemfile +6 -0
- data/lib/step-up/driver/git.rb +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16ef11dc1b6db9dd22f854441cdeac7ff31d75ac
|
4
|
+
data.tar.gz: 7a3d028e3a805578178a5f429c69cc2659524997
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f128b2e2aa920b8d11324d1220aebac06f37518c32ac42b7a1cd83cb4c802ce5f5018e038d24ac082c05c1e4cb2bd5f06937f273ecca83fa55862dab516da2
|
7
|
+
data.tar.gz: 086541cb3169cf61675b706b7a65244117e5eb6a2d1d6178053d0c4c7768b1a88179180fd9561aa397b79e6283c3500a9becde2c7ac3829370865599035c0698
|
data/GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v0.9.
|
1
|
+
v0.9.8
|
data/Gemfile
ADDED
data/lib/step-up/driver/git.rb
CHANGED
@@ -132,6 +132,10 @@ check with the following bash command:
|
|
132
132
|
|
133
133
|
def steps_to_increase_version(level, commit_base = "HEAD", message = nil)
|
134
134
|
new_tag = next_version_tag(commit_base, level)
|
135
|
+
if new_tag.nil? or new_tag.empty?
|
136
|
+
STDERR.puts "Current release #{cached_last_version_tag(commit_base)}"
|
137
|
+
exit 0
|
138
|
+
end
|
135
139
|
notes = cached_detached_notes_as_hash(commit_base)
|
136
140
|
commands = []
|
137
141
|
commands << "git fetch" if cached_fetched_remotes.any?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: step-up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Manzan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04
|
12
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -63,6 +63,7 @@ extensions: []
|
|
63
63
|
extra_rdoc_files: []
|
64
64
|
files:
|
65
65
|
- .stepuprc
|
66
|
+
- Gemfile
|
66
67
|
- README.md
|
67
68
|
- Rakefile
|
68
69
|
- bin/stepup
|