fastlane-plugin-semantic_release 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeb35e46cb525cfd276c6a00e9c7728e2c3ada68be25635c3985cf81ed3f26f8
4
- data.tar.gz: eb1193bcbdc76425e87522ccb167b093de60e2ac5c1f26e48f752e3930f5acbe
3
+ metadata.gz: 3c0865a115c7c6db97c6ad812b02e1d15842fb7ffecf324c7b8e11be38a67674
4
+ data.tar.gz: 8914d775e51b076d2453da4a6c2d2c0899c0401005cd6289f7b812be13ca420f
5
5
  SHA512:
6
- metadata.gz: af63de182b4b1f0acac3fd30f8ee1f50bad6257ed086466c15b587482ad47fe64a70c84eef79af0604a3fbca29e3712421cb691e9b75c560dd1c53df1863ebf5
7
- data.tar.gz: 2d2cccf19624829ed04bde556158208eb6e8b156bbfa5b37737b9eaca2d90608c57175b491547e4512dcc96f62d60428a1070062e5232d1f2a627c50d6dde337
6
+ metadata.gz: 5d9007cea989e130391034bb0b39a28bb095aceb745c821b95c87db56716d8044859003fc1a036b6e5e4dc53985644b6760ab98286115a282c893bb6b3cb0979
7
+ data.tar.gz: 3165e6d0921e297c1c3a6f8da51540abea8c57470f1d217c391032c93d37e42ba2025127491aa16de92b20c5ce90852745f88349293914bba1701685a1279d01
@@ -21,6 +21,7 @@ module Fastlane
21
21
  Actions.sh(command, log: false)
22
22
  rescue
23
23
  UI.message("Tag was not found for match pattern - #{params[:match]}")
24
+ ''
24
25
  end
25
26
 
26
27
  def self.get_last_tag_hash(params)
@@ -29,8 +30,8 @@ module Fastlane
29
30
  end
30
31
 
31
32
  def self.get_commits_from_hash(params)
32
- commits = Helper::SemanticReleaseHelper.git_log('%s|%b', params[:hash])
33
- commits.split("\n")
33
+ commits = Helper::SemanticReleaseHelper.git_log('%s|%b|>', params[:hash])
34
+ commits.split("|>")
34
35
  end
35
36
 
36
37
  def self.run(params)
@@ -8,8 +8,8 @@ module Fastlane
8
8
 
9
9
  class ConventionalChangelogAction < Action
10
10
  def self.get_commits_from_hash(params)
11
- commits = Helper::SemanticReleaseHelper.git_log('%s%b|%H|%h|%an|%at', params[:hash])
12
- commits.split("\n")
11
+ commits = Helper::SemanticReleaseHelper.git_log('%s|%b|%H|%h|%an|%at|>', params[:hash])
12
+ commits.split("|>")
13
13
  end
14
14
 
15
15
  def self.run(params)
@@ -10,7 +10,7 @@ module Fastlane
10
10
  #
11
11
  def self.git_log(pretty, start)
12
12
  command = "git log --pretty='#{pretty}' --reverse #{start}..HEAD"
13
- Actions.sh(command, log: false).chomp
13
+ Actions.sh(command, log: true).chomp
14
14
  end
15
15
 
16
16
  def self.parse_commit(params)
@@ -1 +1 @@
1
- module Fastlane module SemanticRelease VERSION = "1.1.0" end end
1
+ module Fastlane module SemanticRelease VERSION = "1.1.2" end end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-semantic_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jiří Otáhal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-25 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry