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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e9ccca5e02f96efd46018d2a28ef919068b22fe
4
- data.tar.gz: 84817b180145055004712c5bf5f36c80b4294671
3
+ metadata.gz: 3585d497d120de47bc0460f82180792395dc77f8
4
+ data.tar.gz: 01a8aeff15e594ead87e5bcda19bb50d7ec4840a
5
5
  SHA512:
6
- metadata.gz: 8c3d93a6237ae6ae450f0c715946fd5a86fe5b10af9aba38b72e37e0dc0940a60a57b6600f31f11c85f1f68e6a16e95790c7f3a1aadb4a271d48924b41f40a06
7
- data.tar.gz: d1042ecf75de503698c1e00351471084e097a555dcb05e7a2174e2bf488dd3a672557be2d9f9fe79bb44adab361fb8d0604280975ef70bed847b6404da21e878
6
+ metadata.gz: 03fda351fc8f4460dc13ab0fbcdfdb2f11597126c7d90621522c98c11365b68188aa5e96fd40562780622c78bc5a413d0ee313c8a1126980050fabbff1d2615d
7
+ data.tar.gz: a036df3c35c03558bfc7c106688fc2a2209cdde5a740068c24310a9f191f279a5b662f2922894436a74f16f1c6d01e77f3b9a4091eaf5ee9596c9cf4530fde81
@@ -20,18 +20,18 @@ task "octorelease" => "release" do
20
20
  c.access_token = token
21
21
  end
22
22
 
23
- current_version = "v#{Bundler::GemHelper.new.gemspec.version.to_s}"
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
 
@@ -1,3 +1,3 @@
1
1
  module OctoRelease
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-03-27 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit