semvergen 1.6.0 → 1.7.1

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: e578b37b3df394a808f5c107e7da0c74aef146ad
4
- data.tar.gz: 66ce38c8b3eafb07997ac9657f18dfce607e02cf
3
+ metadata.gz: 98d9e63ff3d1b8ae85a03aea47fd84492dda7d2b
4
+ data.tar.gz: a5a9d66ac74972110d7a21bfb13c6a1656b93a32
5
5
  SHA512:
6
- metadata.gz: 4524b7d8f0b7c07a4127bd5737f06911d57ec7c27abf01bce5d663dcff0b59256fd60c40a7da1fda86fab2510f01c010ae66a71471c5c873d529c6a20d8a2f34
7
- data.tar.gz: e5d8fd03abee1b7674859dc485d559e8edc19a4cd771e2ce7a3c61dd4b04823c2a7e2d01073315743b672984d0978015185ef12ebd2d37e4ccd06f2f8077ba5c
6
+ metadata.gz: 86e174e9a577890b84728c24b190cd92a4acfbe72a78930055ea4ce6b06170cd89a8cf551729bfd9cb10018f3054e18b9d59addf41d8877774fb72d9ec41f494
7
+ data.tar.gz: 7b5c89bcfffe734092a3366b495a95da4417595507bbf842cf89713124d74964a30154840b0d878eedaae828c3d37ed5afc7828c56ee4d7955958bb79cf2b185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ # 1.7.1
4
+ * Bug fix branch push
5
+
6
+
7
+ # 1.7.0
8
+ * Support branch push
9
+
10
+
3
11
  # 1.6.0
4
12
  * Make this gem work again
5
13
 
@@ -28,7 +28,7 @@ module Semvergen
28
28
 
29
29
  def run!(options)
30
30
  unless @shell.current_branch == "master"
31
- say color("You are not on master. It is not recommended to create releases from a branch", :red)
31
+ say color("You are not on master. It is not recommended to create releases from a branch unless they're maintenance releases", :red)
32
32
  newline
33
33
  return unless agree("Proceed anyway? ")
34
34
  newline
@@ -35,7 +35,7 @@ module Semvergen
35
35
  execute %Q[git tag #{new_version} -a -m "Version: #{new_version} - #{commit_subject}"]
36
36
  end
37
37
 
38
- def push(new_version, remote_name="origin", branch_name="master")
38
+ def push(new_version, remote_name="origin", branch_name=current_branch)
39
39
  execute "git push -q #{remote_name} #{branch_name} #{new_version}"
40
40
  end
41
41
 
@@ -1,3 +1,3 @@
1
1
  module Semvergen
2
- VERSION = "1.6.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semvergen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendon McLean
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-15 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline