fastlane-plugin-semantic_release 0.1.0 → 0.1.1

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: 90b987c711561a1505db17b8cdd0f3ef6082f696cd5f71231cd337e0d8266a2f
4
- data.tar.gz: 84c398ac11d1da8a1a7e286dfe24265afd1b4d20b2b7ef2f9ff531eb856c99fd
3
+ metadata.gz: e0b58f60c6c2f1c7a443224afa1091888d1118b096abcfc22301230db2584602
4
+ data.tar.gz: 7af237026d36fcf3494f7aad8773db7cc5da5336bd95220f4c2348d9ab305f1b
5
5
  SHA512:
6
- metadata.gz: 0abb5a2d776ee404c4459b66847f9de5395fe13c0c99ab099465ed1f1c9e3867f662d380b5f29658036a4b33cbb8ccf16209eebcf0b69bb5ab5e7aec56088d53
7
- data.tar.gz: 60fc116bba0e70db1c6a9f97582d2dbc41059c9d39bce4c6c913e710476f56e7544cb8e1e379f91eb8c60e0e8fb6c9ac85b02cd3e12b957f748639021c2c02d6
6
+ metadata.gz: 2d81b167b4390f461e45a6bb2acbd917a3fb930eb5c49606a65ceb3c459e4e54818b3d2ed71a2eac90ff184e6759342dcaee3c7cb44d17abba207aa28631242a
7
+ data.tar.gz: aa5c810a9ff383e785ac60e2c7f3c8c298965a7155cdb66d3d9fe8c62ffb9809720e2a2d1aead97442f53b21b506995d221ba2428452f48524fb92741d902ba3
@@ -49,6 +49,9 @@ module Fastlane
49
49
  result += "(#{Date.today})"
50
50
 
51
51
  for type in params[:order]
52
+ # write section only if there is at least one commit
53
+ next if !commits.any? { |commit| commit[:type] == type }
54
+
52
55
  result += "\n\n"
53
56
  result += "### #{sections[type.to_sym]}"
54
57
  result += "\n"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SemanticRelease
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  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: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jiří Otáhal