fastlane-plugin-stream_actions 0.1.2 → 0.1.3

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: 24de8c23f06a9cbda0b9eef312b28303c1e6ef6b0d1cb5b72cdf5eaaee03b582
4
- data.tar.gz: ba45fc47a3248fb3b780826e3d2200c3dd24ec8b89ebd4978acffc35dd0e56cf
3
+ metadata.gz: fe523cad661bd0be5c6f5b6506c5d53bb9cc529c2ba9358d528178d1cb549d62
4
+ data.tar.gz: 58455c34dfd514cc81606d0441a3c3a06b7812355efe9f280fa48a7cf6305e09
5
5
  SHA512:
6
- metadata.gz: af79d87f7796eb3ba55fb9f9451885dfbd6fd0b3dab27bd96fa4542b10a27dcedf69e032e13fdc26a1b6ae4b37d550f6ebc953c6e845e2fcc93825ec2467cfe3
7
- data.tar.gz: f3884039a480f3516b0fd443726d0f5780bfdc4a8d221429d4290f7fde5f617994e2d25cb4d564c9933102f8408c9b90b932d75a2b1d0f0adea6e3ac2ef1270c
6
+ metadata.gz: 48e46569e075b8bfa1976b0735395b4701982628cd14c9c60e44936fd6e81f4d34de5a98c8e3f62f0389a0598bfd497eb38767e1b906a64d874d745836789f2b
7
+ data.tar.gz: f805c1e49334611b7df03ad457e771f61a45c5500e98109f98c5fb419a85764c6797c6bcd3aeaaf5c33546eb8be74943404259309f5984561e7a20624db6ef24
@@ -2,9 +2,9 @@ module Fastlane
2
2
  module Actions
3
3
  class ReadChangelogAction < Action
4
4
  def self.run(params)
5
- UI.user_error!('You need to pass the version of the release you want to obtain the changelog from') unless options[:version]
5
+ UI.user_error!('You need to pass the version of the release you want to obtain the changelog from') unless params[:version]
6
6
 
7
- UI.message("Getting changelog for #{options[:version]}")
7
+ UI.message("Getting changelog for #{params[:version]}")
8
8
  reading_changelog = false
9
9
  changes = ''
10
10
  changelog_lines = File.readlines('../CHANGELOG.md')
@@ -16,11 +16,11 @@ module Fastlane
16
16
  changes << line
17
17
  end
18
18
 
19
- reading_changelog = true if line.start_with?("#{start_token}#{options[:version]}")
19
+ reading_changelog = true if line.start_with?("#{start_token}#{params[:version]}")
20
20
  end
21
21
 
22
- UI.user_error!("No changelog found for #{options[:version]}") unless changes.length > 0
23
- UI.success("Changelog for #{options[:version]}: \n#{changes}")
22
+ UI.user_error!("No changelog found for #{params[:version]}") unless changes.length > 0
23
+ UI.success("Changelog for #{params[:version]}: \n#{changes}")
24
24
  changes
25
25
  end
26
26
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream