Skip to content

Deprecate ios_final_tag and ios_clear_intermediate_tags#471

Merged
oguzkocer merged 5 commits intotrunkfrom
deprecate/ios_final_tag_and_ios_clear_intermediate_tags
May 9, 2023
Merged

Deprecate ios_final_tag and ios_clear_intermediate_tags#471
oguzkocer merged 5 commits intotrunkfrom
deprecate/ios_final_tag_and_ios_clear_intermediate_tags

Conversation

@oguzkocer
Copy link
Contributor

@oguzkocer oguzkocer commented May 8, 2023

What does it do?

This PR deprecates ios_final_tag & ios_clear_intermediate_tags actions. We don't believe these actions are used anymore, but just to be sure, we wanted to deprecate them first.

In order to deprecate the actions, here is a list of changes I've made:

  • Added :deprecated category
  • Added deprecated_notes
  • Added a confirmation to the action noting that the action is deprecated - as suggested by @jkmassel
  • Added (DEPRECATED) prefix to the details & description of each action

Hopefully this ^ is the correct approach to deprecate these actions. Please let me know if I missed anything or if you have any suggestions.

Checklist before requesting a review

  • Run bundle exec rubocop to test for code style violations and recommendations
  • Add Unit Tests (aka specs/*_spec.rb) if applicable
  • Run bundle exec rspec to run the whole test suite and ensure all your tests pass
  • Make sure you added an entry in the CHANGELOG.md file to describe your changes under the approprioate existing ### subsection of the existing ## Trunk section.

@oguzkocer oguzkocer marked this pull request as ready for review May 8, 2023 23:22
@oguzkocer oguzkocer requested a review from a team May 8, 2023 23:22
@oguzkocer oguzkocer enabled auto-merge May 8, 2023 23:22
Copy link
Contributor

@spencertransier spencertransier left a comment

Choose a reason for hiding this comment

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

Looks good! Just a minor spelling typo, but I think it's fine since it was in the original action and this is being deprecated anyway.

I confirmed that everything you added appears correctly in Fastlane:
Screenshot 2023-05-08 at 9 50 17 PM
Screenshot 2023-05-08 at 9 51 06 PM
Screenshot 2023-05-08 at 9 51 22 PM

And the actions correctly ask for confirmation before proceeding:

Screenshot 2023-05-08 at 9 58 27 PM


def self.description
'Finalize a relasae'
'(DEPRECATED) Finalize a relasae'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'(DEPRECATED) Finalize a relasae'
'(DEPRECATED) Finalize a release'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was going to apply the suggestion but the PR is auto-merged. Sorry about that @spencertransier.

Thank you for reviewing the PR 🙇‍♂️

@oguzkocer oguzkocer merged commit f348207 into trunk May 9, 2023
@oguzkocer oguzkocer deleted the deprecate/ios_final_tag_and_ios_clear_intermediate_tags branch May 9, 2023 04:59
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