Skip to content

Commit

Permalink
Update Fastfile (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzxha authored Feb 4, 2024
1 parent c71ee15 commit 780c130
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ platform :ios do

sh('git fetch --tags')

most_recent_tags = sh("git tag --sort=-version:refname | head -2").split("\n")
release_log = changelog_from_git_commits(
between: most_recent_tags,
pretty: "- %s @(%an) "
)
most_recent_tags = sh("git tag --sort=-version:refname | head -2").split("\n").reverse()
release_log = sh("git log --pretty=format:'- %s' #{most_recent_tags[0]}...#{most_recent_tags[1]}")

xcframework(version: target_version)
set_github_release(
Expand Down

0 comments on commit 780c130

Please sign in to comment.