Skip to content

Commit d8150e6

Browse files
authored
Replace other_action.sh with Actions.sh (#670)
2 parents b7fa5dd + b3e3796 commit d8150e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _None_
1414

1515
### Bug Fixes
1616

17-
_None_
17+
- Fix `NoMethodError` (`undefined method 'trigger_action_by_name' for nil:NilClass`) when running `configure_setup`. [#670]
1818

1919
### Internal Changes
2020

lib/fastlane/plugin/wpmreleasetoolkit/actions/configure/configure_apply_action.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ def self.prepare_repository
4242
original_repo_ref = Fastlane::Helper::ConfigureHelper.repo_branch_name
4343
original_repo_ref = repo_hash if original_repo_ref.nil?
4444

45-
other_action.sh(command: "cd #{repository_path} && git fetch && git checkout #{file_hash}", log: false) unless repo_hash == file_hash
45+
Actions.sh("cd #{repository_path} && git fetch && git checkout #{file_hash}", log: false) unless repo_hash == file_hash
4646

4747
# Run the provided block
4848
yield
4949

5050
### Restore secrets repo to original branch. If it was originally in a
5151
### detached HEAD state, we need to use the hash since there's no branch name.
52-
other_action.sh(command: "cd #{repository_path} && git checkout #{original_repo_ref}", log: false)
52+
Actions.sh("cd #{repository_path} && git checkout #{original_repo_ref}", log: false)
5353
end
5454

5555
### Check with the user whether we should overwrite the file, if it exists

0 commit comments

Comments
 (0)