Skip to content

Commit d977c22

Browse files
committed
refactor and add branch release
1 parent 9a0b6e8 commit d977c22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ platform :ios do
8080
desc "create github release and upload assets"
8181
lane :create_release do |options|
8282
version = options[:version]
83+
branch = options[:branch]
8384
changelog_section = options[:changelog_section]
8485
output_dir = options[:output_dir]
8586
github_token = options[:github_token]
@@ -98,7 +99,7 @@ platform :ios do
9899
name: "#{version}",
99100
tag_name: "#{version}",
100101
description: version_changelog,
101-
commitish: "master",
102+
commitish: "#{branch}",
102103
upload_assets: ["./#{output_dir}/IterableSDK.xcframework.zip", "./#{output_dir}/IterableAppExtensions.xcframework.zip"],
103104
is_prerelease: set_prerelease
104105
)

0 commit comments

Comments
 (0)