Skip to content

Commit

Permalink
Update Fastlane release lane (#90)
Browse files Browse the repository at this point in the history
* Make PR for tag changes

* Update changelog
  • Loading branch information
jemmaSlater authored Mar 8, 2024
1 parent 0c2fdd6 commit 35e1859
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- Update Fastfile to create PR as part of release process

## [2.10.1] - 2024-03-07Z

- Updated the Kotlin version for compatibility with Xcode 15.
Expand Down
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ platform :android do
tag = version.increment!(:patch)
end

sh("git", "checkout", "-b", "tag/#{tag.to_string}")

# build the XCFramework
sh("cd .. && ./build_xcframework.sh #{tag.to_string}")

Expand All @@ -70,6 +72,9 @@ platform :android do
)
push_to_git_remote

# creates a PR
sh("gh", "pr", "create", "--title", "Release tax-kalculator library #{tag.to_string}", "--body", "")

# take tag and push to remote
add_git_tag(tag: tag.to_string)
push_git_tags
Expand Down

0 comments on commit 35e1859

Please sign in to comment.