fastlane-plugin-semantic_release 1.7.0 → 1.8.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 991694d09785835a5aee8a33b9d53ba0d30294942a13abbb5611a6a82b45022f
|
|
4
|
+
data.tar.gz: a65c5eb20db107b72792baad5bcf6e3e49629703f878cd0228530a2c892f48c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d71f3cb33ac74a94a761a48d72ca42acd3babc5d9d8234352346bd56dd55ad4d79685be372f2c1e1d9ec834947ec53074fcd66146381a80d26b10870b3bdb58
|
|
7
|
+
data.tar.gz: b32097e494de9908a958039e115dfdff3e1cbc9a2d9f26bf59099cbc5803fa8bc998c776517a72978410056f8d9ceaec2c653936c3142ecd6b42f66e7c87ca94
|
data/README.md
CHANGED
|
@@ -50,6 +50,12 @@ notes = conventional_changelog(format: 'slack', title: 'Android Alpha')
|
|
|
50
50
|
- analyzes subject of every single commit and increases version number if there is a need (check conventional commit rules)
|
|
51
51
|
- if next version number is higher then last version number it will recommend you to release this version
|
|
52
52
|
|
|
53
|
+
Options:
|
|
54
|
+
|
|
55
|
+
- `ignore_scopes: ['android','windows']`: allows you to ignore any commits which include a given scope, like this one: `feat(android): add functionality not relevant to the release we are producing`
|
|
56
|
+
|
|
57
|
+
Example usage:
|
|
58
|
+
|
|
53
59
|
```
|
|
54
60
|
isReleasable = analyze_commits(match: 'ios/beta*')
|
|
55
61
|
```
|
|
@@ -85,6 +85,14 @@ module Fastlane
|
|
|
85
85
|
releases: releases
|
|
86
86
|
)
|
|
87
87
|
|
|
88
|
+
unless commit[:scope].nil?
|
|
89
|
+
# if this commit has a scope, then we need to inspect to see if that is one of the scopes we're trying to exclude
|
|
90
|
+
scope = commit[:scope]
|
|
91
|
+
scopes_to_ignore = params[:ignore_scopes]
|
|
92
|
+
# if it is, we'll skip this commit when bumping versions
|
|
93
|
+
next if scopes_to_ignore.include?(scope) #=> true
|
|
94
|
+
end
|
|
95
|
+
|
|
88
96
|
if commit[:release] == "major" || commit[:is_breaking_change]
|
|
89
97
|
next_major += 1
|
|
90
98
|
next_minor = 0
|
|
@@ -211,6 +219,13 @@ module Fastlane
|
|
|
211
219
|
key: :tag_version_match,
|
|
212
220
|
description: "To parse version number from tag name",
|
|
213
221
|
default_value: '\d+\.\d+\.\d+'
|
|
222
|
+
),
|
|
223
|
+
FastlaneCore::ConfigItem.new(
|
|
224
|
+
key: :ignore_scopes,
|
|
225
|
+
description: "To ignore certain scopes when calculating releases",
|
|
226
|
+
default_value: [],
|
|
227
|
+
type: Array,
|
|
228
|
+
optional: true
|
|
214
229
|
)
|
|
215
230
|
]
|
|
216
231
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module Fastlane module SemanticRelease VERSION = "1.
|
|
1
|
+
module Fastlane module SemanticRelease VERSION = "1.8.0" 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.
|
|
4
|
+
version: 1.8.0
|
|
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:
|
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|