fastlane-plugin-write_changelog_from_commits 1.1.0 → 1.2.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: 611dd8a25518c6b4f3dc41d3e04283d31be81160d5a947b75c36e6c334eb08de
4
- data.tar.gz: bc68014ed00794e028b9d03f2459816397c26642c187461932f6e65495ff4683
3
+ metadata.gz: 42e990c95948394f9c8b8f868c098e023243c9d3495079a5b38bfc83c544fc03
4
+ data.tar.gz: ec3b311fdcbf99f9fa60a348911c65fe5c3d19d9018f2c347551c2a06a02418e
5
5
  SHA512:
6
- metadata.gz: 2d45038790cfead4ee75949da6667beabd4b4dfa6acb413978ab2799f521d1b784f1486690b55cf28eda454033da1b9a61f472353a87b2cc52b4099dbb04107e
7
- data.tar.gz: 0d5378f8073266c983bd3d920894c853548506fd5d713209e965c61534545fa9dd55b34ad04942298eb612173fbca435566e26bd808500f88b6b0e4732139dd0
6
+ metadata.gz: 14bea495b0582817ee2590c2283755186cec0386207254a7a7053137c2df3c5508f644d641e7d82127d444278250671a509fa8308b004c9bedc64d9561fe6206
7
+ data.tar.gz: 800445a532568151adb29230e4cb1b506ccf02a2e67b0b3d2b1d94ed0a37c0d3a3141cf37642779c1d4fa280bb0ca466ddbd59b8f607f57425b00eb39f6de172
@@ -35,7 +35,7 @@ module Fastlane
35
35
  end
36
36
 
37
37
  if params[:version_code]
38
- write_release_notes(release_notes, params[:version_code], params[:changelog_dir])
38
+ write_release_notes(release_notes, params[:version_code], params[:changelog_dir]) unless params[:read_only]
39
39
  else
40
40
  UI.message("No version code provided, so could not write file")
41
41
  end
@@ -137,6 +137,14 @@ module Fastlane
137
137
  env_name: "WRITE_CHANGELOG_FROM_COMMITS_VERSION_CODE",
138
138
  description: "Version code used to create file",
139
139
  optional: true
140
+ ),
141
+ FastlaneCore::ConfigItem.new(
142
+ key: :read_only,
143
+ env_name: "WRITE_CHANGELOG_FROM_COMMITS_READ_ONLY",
144
+ description: "If true will simply return the changelog rather than writing it",
145
+ optional: true,
146
+ default_value: false,
147
+ is_string: false
140
148
  )
141
149
  ]
142
150
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module WriteChangelogFromCommits
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-write_changelog_from_commits
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lewis Bright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-25 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry