Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for duplicate Steps in react-native workflows #228

Closed
wants to merge 3 commits into from

Conversation

lpusok
Copy link
Contributor

@lpusok lpusok commented Feb 8, 2022

Checklist

  • I've read and followed the Contribution Guidelines
  • [/] step.yml and README.md is updated with the changes (if needed)

Version

Requires a PATCH version update

Context

In case of multiple iOS schemes being present for react-native, duplicate xcode-archive and deploy-to-bitrise-io Steps were generated.

Resolves: https://bitrise.atlassian.net/browse/STEP-1742

Changes

@@ -210,47 +210,47 @@ func (scanner *Scanner) configs(isPrivateRepo bool) (models.BitriseConfigMap, er
}

// ios cd
if scanner.iosScanner != nil {
for _, descriptor := range scanner.iosScanner.ConfigDescriptors {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this loop over iOS descriptors to prevent duplicate Steps added to the config. Use the first descriptor only.

@lpusok lpusok changed the title Fix for duplicate Steps Fix for duplicate Steps in react-native workflows Feb 8, 2022
@lpusok lpusok closed this Feb 9, 2022
@lpusok lpusok deleted the STEP-1742-react-native-dulicate-steps branch February 9, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants