fastlane-plugin-semantic_release 1.9.2 → 1.11.0

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
  SHA256:
3
- metadata.gz: c5e12ea9120ab4bccc7f4206d24511fd0455d86cd38cd4b4eb3f6713a8a37a84
4
- data.tar.gz: bdda044be599d10eb6843bbb197dbd3ab338a109bc72ff86ad0c221899c0a517
3
+ metadata.gz: '09b6df2db881fa64fd8f22d9998294264f297c115c167d567600c2e0a533a542'
4
+ data.tar.gz: 8a58251af5f6e006ac4a6e59628712c7ecb3bc893ad1634d43fd92826690c36a
5
5
  SHA512:
6
- metadata.gz: e3b583d81b5ba72b45a7698265667a698a7e3fc7c3070f1e39bcfc79393d38dc4436525d7482967a4a0d2995df5f652a4d5621866710dce91ef145179bd02669
7
- data.tar.gz: 0c641c08118d7a8796fec1a5bf703e28f0dc3250870f374142e6cba442df88295c30d27615372eedded46c277ad613045a49214e1bd605a07b6d537dd7fc8740
6
+ metadata.gz: 908a132fc7bfab4c454aac9fae3f32ae55baf1733f1939505ba5e68570ed9e6c60b598095bbdd990b26e20dfb8272a790f1eacfce9fd266b354ad98ab0fa1663
7
+ data.tar.gz: 615daa5dd8fe4814cb0d423bf0e8fc4a6a12e4b5eeeb2f25bd7c77278c5aaf28284d9c507778a71d9550385abdb0b6ce7985dd5adb1694c3252391dc89050055
@@ -90,11 +90,13 @@ module Fastlane
90
90
  releases = params[:releases]
91
91
 
92
92
  splitted.each do |line|
93
+ parts = line.split("|")
94
+ subject = parts[0].strip
93
95
  # conventional commits are in format
94
96
  # type: subject (fix: app crash - for example)
95
97
  commit = Helper::SemanticReleaseHelper.parse_commit(
96
- commit_subject: line.split("|")[0],
97
- commit_body: line.split("|")[1],
98
+ commit_subject: subject,
99
+ commit_body: parts[1],
98
100
  releases: releases
99
101
  )
100
102
 
@@ -118,7 +120,7 @@ module Fastlane
118
120
  end
119
121
 
120
122
  next_version = "#{next_major}.#{next_minor}.#{next_patch}"
121
- UI.message("#{next_version}: #{line}")
123
+ UI.message("#{next_version}: #{subject}") if params[:show_version_path]
122
124
  end
123
125
 
124
126
  next_version = "#{next_major}.#{next_minor}.#{next_patch}"
@@ -252,6 +254,13 @@ module Fastlane
252
254
  type: Array,
253
255
  optional: true
254
256
  ),
257
+ FastlaneCore::ConfigItem.new(
258
+ key: :show_version_path,
259
+ description: "True if you want to print out the version calculated for each commit",
260
+ default_value: true,
261
+ type: Boolean,
262
+ optional: true
263
+ ),
255
264
  FastlaneCore::ConfigItem.new(
256
265
  key: :debug,
257
266
  description: "True if you want to log out a debug info",
@@ -1 +1 @@
1
- module Fastlane module SemanticRelease VERSION = "1.9.2" end end
1
+ module Fastlane module SemanticRelease VERSION = "1.11.0" end end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-semantic_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jiří Otáhal