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

As a developer, I would like to be able to update my fastlane with the new version on the template #427

Open
blyscuit opened this issue Jan 10, 2023 · 4 comments

Comments

@blyscuit
Copy link
Collaborator

Why

There's currently no good approach to updating the fastlane when there's a new feature / bug fixes.

Let's start by discussing idea first.

Who Benefits?

Developers.

@edgarss
Copy link
Contributor

edgarss commented Mar 9, 2023

Maybe we could have the ios-template also generate a seperate zip file with just the fastlane folder on each release and then have another lane or an .sh script in the project that you can run and it downloads the latest fastlane release from ios-templates github.

@suho
Copy link
Member

suho commented Apr 5, 2023

My solution:

  1. Setup a fastlane-templates Swift Package library
    1. Add helpers.
    2. Add Fastlane lanes.
    3. Configuration for fastlane (constants, secrets).
  2. In an iOS project (e.g, iOS templates):
    1. Remove all the current fastlane setup
    2. Create a new excutable Swift Package
    3. Use fastlane-templates as a dependency.
    4. Set up all constants and secrets for Fastlane.
    5. Build and run lanes.

@blyscuit
Copy link
Collaborator Author

Like your idea @suho. I will start POC this with Swift Package 🙏 .

@suho
Copy link
Member

suho commented May 10, 2023

@blyscuit I created this repo https://github.com/nimblehq/nimble-fastlane

Please start POC on it.

@blyscuit blyscuit self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants