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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48fa2669ce7bca62b500c1ff44c1fc72aac20876
4
- data.tar.gz: a08b969e19d4fa9f51d82120f78fd2e1a7ac9f86
3
+ metadata.gz: 16ef11dc1b6db9dd22f854441cdeac7ff31d75ac
4
+ data.tar.gz: 7a3d028e3a805578178a5f429c69cc2659524997
5
5
  SHA512:
6
- metadata.gz: 437166c5c2473c73ced55ac24692fe495a4100401af628c6749a59289a310a16a65eb5a2f15cb008c772c89bfd19a77874cc2f82621dea8fa2e0fe2611cb84a7
7
- data.tar.gz: b8d927cc0edfd8b3e15af51a92c7a09b6c1342b6f45f3a7162795523eb724a3c717d495ef1619e86382c0d200fd0ac9e268da70719c9fd2d2fbe6d2ec625dcfa
6
+ metadata.gz: 86f128b2e2aa920b8d11324d1220aebac06f37518c32ac42b7a1cd83cb4c802ce5f5018e038d24ac082c05c1e4cb2bd5f06937f273ecca83fa55862dab516da2
7
+ data.tar.gz: 086541cb3169cf61675b706b7a65244117e5eb6a2d1d6178053d0c4c7768b1a88179180fd9561aa397b79e6283c3500a9becde2c7ac3829370865599035c0698
data/GEM_VERSION CHANGED
@@ -1 +1 @@
1
- v0.9.7
1
+ v0.9.8
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rspec", "~> 2.11.0"
4
+ gem "rake", "~> 10.4.2"
5
+ gem "thor", ">= 0.14.6"
6
+ gem "mocha", "~> 0.12.0"
@@ -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.7
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-25 00:00:00.000000000 Z
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