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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/semvergen/bump.rb +1 -1
- data/lib/semvergen/shell.rb +1 -1
- data/lib/semvergen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98d9e63ff3d1b8ae85a03aea47fd84492dda7d2b
|
4
|
+
data.tar.gz: a5a9d66ac74972110d7a21bfb13c6a1656b93a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86e174e9a577890b84728c24b190cd92a4acfbe72a78930055ea4ce6b06170cd89a8cf551729bfd9cb10018f3054e18b9d59addf41d8877774fb72d9ec41f494
|
7
|
+
data.tar.gz: 7b5c89bcfffe734092a3366b495a95da4417595507bbf842cf89713124d74964a30154840b0d878eedaae828c3d37ed5afc7828c56ee4d7955958bb79cf2b185
|
data/CHANGELOG.md
CHANGED
data/lib/semvergen/bump.rb
CHANGED
@@ -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
|
data/lib/semvergen/shell.rb
CHANGED
@@ -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=
|
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
|
|
data/lib/semvergen/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|