octorelease 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octorelease.rb +3 -3
- data/lib/octorelease/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: 3585d497d120de47bc0460f82180792395dc77f8
|
4
|
+
data.tar.gz: 01a8aeff15e594ead87e5bcda19bb50d7ec4840a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03fda351fc8f4460dc13ab0fbcdfdb2f11597126c7d90621522c98c11365b68188aa5e96fd40562780622c78bc5a413d0ee313c8a1126980050fabbff1d2615d
|
7
|
+
data.tar.gz: a036df3c35c03558bfc7c106688fc2a2209cdde5a740068c24310a9f191f279a5b662f2922894436a74f16f1c6d01e77f3b9a4091eaf5ee9596c9cf4530fde81
|
data/lib/octorelease.rb
CHANGED
@@ -20,18 +20,18 @@ task "octorelease" => "release" do
|
|
20
20
|
c.access_token = token
|
21
21
|
end
|
22
22
|
|
23
|
-
current_version =
|
23
|
+
current_version = Bundler::GemHelper.new.gemspec.version
|
24
24
|
previous_version = Gem::Version.create("0.0.0")
|
25
25
|
`git tag`.split(/\n/).each do |tag|
|
26
|
-
break if tag == current_version
|
27
26
|
tag.gsub!(/^v/, "")
|
28
27
|
version = Gem::Version.create(tag)
|
29
|
-
if previous_version < version
|
28
|
+
if previous_version < version && version < current_version
|
30
29
|
previous_version = version
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
34
33
|
previous_version = "v#{previous_version.to_s}"
|
34
|
+
current_version = "v#{current_version.to_s}"
|
35
35
|
|
36
36
|
log = `git log #{previous_version}..#{current_version} --grep=Merge`
|
37
37
|
|
data/lib/octorelease/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octorelease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|