From 13ce9de39549e948c7fb6f0f1ed0af36597e4d94 Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Mon, 30 Dec 2024 21:57:12 +0530 Subject: [PATCH] chore: Remove `repoName` param from `generateReleaseNotes` lane This commit removes the `repoName` parameter from the `generateReleaseNotes` lane in the Fastfile. The `repoName` parameter is no longer needed as the lane now automatically determines the repository name. This change simplifies the `generateReleaseNotes` lane and makes it more robust. --- fastlane/FastFile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/fastlane/FastFile b/fastlane/FastFile index 43c606276..7fa1a59a2 100644 --- a/fastlane/FastFile +++ b/fastlane/FastFile @@ -39,9 +39,7 @@ platform :android do generateVersion = generateVersion() # Generate Release Note - releaseNotes = generateReleaseNotes( - repoName: "mobile-wallet-testing", - ) + releaseNotes = generateReleaseNotes() # Write the generated release notes to default.txt buildConfigPath = "metadata/android/en-GB/changelogs/default.txt" @@ -64,9 +62,7 @@ platform :android do options[:groups] ||= "mifos-wallet-testers" # Generate Release Note - releaseNotes = generateReleaseNotes( - repoName: "mobile-wallet-testing", - ) + releaseNotes = generateReleaseNotes() firebase_app_distribution( app: "1:64530857057:android:f8d67b786db1b844", @@ -211,9 +207,7 @@ platform :ios do increment_version() build_ios() - releaseNotes = generateReleaseNotes( - repoName: "mobile-wallet-testing", - ) + releaseNotes = generateReleaseNotes() release = firebase_app_distribution( app: "1:728434912738:ios:86a7badfaed88b841a1dbb", service_credentials_file: options[:serviceCredsFile], @@ -224,7 +218,7 @@ platform :ios do end desc "Generate release notes" - lane :generateReleaseNotes do |options| + lane :generateReleaseNotes do branchName = `git rev-parse --abbrev-ref HEAD`.chomp() releaseNotes = changelog_from_git_commits( commits_count: 1,