ios-templates icon indicating copy to clipboard operation
ios-templates copied to clipboard

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

Open blyscuit opened this issue 2 years ago • 4 comments

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.

blyscuit avatar Jan 10 '23 11:01 blyscuit

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.

edgarss avatar Mar 09 '23 06:03 edgarss

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.

suho avatar Apr 05 '23 03:04 suho

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

blyscuit avatar May 10 '23 02:05 blyscuit

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

Please start POC on it.

suho avatar May 10 '23 03:05 suho