cookbook-release 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjZkODgwZWRkNDQ5MDY4ZmZiZGExNTI1ZWU5YmEwNDQ5MTBiZTg2MA==
4
+ MWQzMDg0OGQyN2ZhYmQ0NGY2OTQyMGJlOTE1OGIxYzU3MDI3OWY1MQ==
5
5
  data.tar.gz: !binary |-
6
- OWMwMDhkN2ZlZTEwODA4NDZiZGY1NzIyNDNjNWFkNTE3ODIxNGNiYQ==
6
+ MmYxMWY2ODg1MjhjYjMxZTRjYjlhNzFkNWY2NzlhOTAzMGFjMGI3MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWNiMGJmMmI5ZmQ4MDkzODlkZGI2ZWYyYTE1YmU2ZGNiZGVmOGM1YmVkNDJm
10
- M2M2MWNjN2FiODVmMTVkMzM3NGRhNmY0YTYwY2I3MGZmNTlkN2E1ZmNlODE3
11
- ZGRhZDQ1ZmJmNGY5NGJkMmE4NDJkNjZiYTFhZmM3NjIzYTc4ODI=
9
+ YTE3MTU5MjY3YTMzMGRkMjY0MjhjNzA0NWUwMTE2NDk1YjE1ODA3OGZlOTM3
10
+ MTMxY2QwMmEyMWRhMmI4MDE3M2Q3NGQzM2Q1NjRiNDJlMTdkMmRmODRiMWEy
11
+ NzcyZDAxYTE2NjQ1MDZmODIyNDI0MjEyZWY0MTY1MGM2ZjdlY2M=
12
12
  data.tar.gz: !binary |-
13
- OWJmNzhhN2NjNGEwYzU5YjRmMGU3NDc1YWU3MjQxMmRiY2UzMjBiZDc0MGYz
14
- MjJmNjY4ODg4NzMwOWU2NjYxZjQxNzljMzg4Njk2ZjYwZWUzOTQzNGQ5ZjIx
15
- Yjk0NTVlMGZhMWYwZWY1YTQ3ODNmZGRkMTQwNDhhMjZiYjEwNGQ=
13
+ OTQ3ZjdkZTA0YzU5NzUxNmQyYmY5OWE5MmQ0NjBkOGJjNDFkMDBkYjFiMDg2
14
+ MThjZDZmYWVmN2QxOGE3MjI2NjEzMmE0M2JiNjVmYTY2YzljYjU3ZDcwZjU0
15
+ ZTZkODAzZDY1ZjVhZTM0OTMyOTEzNTQ3MWZjNWIyYjYxODY2NDc=
@@ -6,7 +6,7 @@ require 'English'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'cookbook-release'
9
- spec.version = '1.1.1'
9
+ spec.version = '1.1.2'
10
10
  spec.authors = ['Grégoire Seux']
11
11
  spec.email = 'g.seux@criteo.com'
12
12
  spec.summary = 'Provide primitives (and rake tasks) to release a cookbook'
@@ -37,7 +37,8 @@ module CookbookRelease
37
37
  private
38
38
 
39
39
  def changelog
40
- @git.compute_changelog('master')
40
+ ref = ENV['RELEASE_BRANCH'] || 'origin/master'
41
+ @git.compute_changelog(ref)
41
42
  end
42
43
 
43
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookbook-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grégoire Seux