Skip to content

Commit

Permalink
chore: Remove repoName param from generateReleaseNotes lane
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
niyajali committed Dec 30, 2024
1 parent ebfa635 commit 13ce9de
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions fastlane/FastFile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down Expand Up @@ -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],
Expand All @@ -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,
Expand Down

0 comments on commit 13ce9de

Please sign in to comment.