fastlane-plugin-stream_actions 0.3.55 → 0.3.57

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: 87b0964ecf7d347867b3ad0c3b6869b4a749076b0e016e282fd2a3ceadef33a8
4
- data.tar.gz: f125dcb17e7c76d95d24d63a4df687328f544c3bad307d293e07e69265bbf66c
3
+ metadata.gz: b49f2a69729dee596f6be3a9504deed796ba5a7adf39c1e1c70aebd5a5764baa
4
+ data.tar.gz: 8d90994596006326c9a727ffeb3c6858bc417721579182386b36393421a9f28e
5
5
  SHA512:
6
- metadata.gz: 53a598c9988dee81ac28fbff75299eb3e4e2c6d3c37e5d47ab4d12ced9a0a861b791b6f0bc55e05b3a94fbce79277b9274d82816d9236a306e3a118031c1a42b
7
- data.tar.gz: df3d31772ba94a33e2838e164d5434d2e81709331b3354013860b76574f4fad6bb9d36772b921021915ba052e3ab1fb9818095ff804ef7c175ccb11ac53c54fd
6
+ metadata.gz: 4d4c40e817602724c1aa409bbc770ea1b286e6f2d263c240785a2d566bd3adb91f720d3ae3a1dc4def8ffce26a9aa4452a26be9d93977cecb69e1568e91876dd
7
+ data.tar.gz: 2ddc3f6b0ea2919b781326caeeb9979f47154328fcadcbc21e6c14fb0c85ffe74a7aa35f2f76e7b3dedcafe7b28bf12ef3db915ab8c045f3bbc6cb267f3f05b0
@@ -4,7 +4,7 @@ module Fastlane
4
4
  def self.run(params)
5
5
  UI.user_error!('Extension should be provided') unless params[:ext]
6
6
 
7
- untracked_files = sh('git status -s', log: false).split("\n").map(&:strip)
7
+ untracked_files = sh('git status -s').split("\n").map(&:strip)
8
8
  UI.important("Git Status: #{untracked_files}")
9
9
 
10
10
  deleted_files = select_files_from(files: untracked_files, with_extension: params[:ext], that_start_with: 'D')
@@ -2,7 +2,9 @@ module Fastlane
2
2
  module Actions
3
3
  class PrCommentAction < Action
4
4
  def self.run(params)
5
- if params[:pr_num]
5
+ if params[:pr_num].to_s.empty?
6
+ UI.important('Skipping the PR comment.')
7
+ else
6
8
  additional_args = []
7
9
  if params[:edit_last_comment_with_text]
8
10
  UI.message('Checking last comment for required pattern.')
@@ -17,8 +19,6 @@ module Fastlane
17
19
  end
18
20
  sh("gh pr comment #{params[:pr_num]} -b '#{params[:text]}' #{additional_args.join(' ')}")
19
21
  UI.success('PR comment been added.')
20
- else
21
- UI.error('Skipping the PR comment because PR number has not been provided.')
22
22
  end
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.55'
3
+ VERSION = '0.3.57'
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.3.55
4
+ version: 0.3.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream