Skip to content

Commit ef6a15b

Browse files
author
Di Wu
authored
chore: kickoff release
2 parents b99f388 + f6019e9 commit ef6a15b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ platform :ios do
9797
next_version = options[:version]
9898
UI.user_error!("version shouldn't be nil") if next_version.nil?
9999

100-
add_git_tag(tag: next_version, grouping: nil)
100+
add_git_tag(tag: next_version, grouping: nil, force: true)
101+
push_git_tags(tag: next_version, force: true)
101102
end
102103

103104
desc "Publish new version to cocoapod trunck"
@@ -114,14 +115,12 @@ platform :ios do
114115
push_to_git_remote(
115116
local_branch: "release",
116117
remote_branch: "release",
117-
tags: true,
118118
)
119119

120120
# update main branch with release branch
121121
push_to_git_remote(
122122
local_branch: "release",
123123
remote_branch: "main",
124-
tags: true,
125124
)
126125
end
127126
end

0 commit comments

Comments
 (0)