@@ -39,21 +39,21 @@ platform :ios do
39
39
generate_version_bump_commit ( version : next_version )
40
40
generate_changelog_commit ( version : next_version , commits : commits )
41
41
create_new_version_tag ( version : next_version )
42
- # publish_to_cocoapod_trunk
43
- # sync_up_main_release_branch
42
+ publish_to_cocoapod_trunk
43
+ sync_up_main_release_branch
44
44
end
45
45
46
46
desc "Generate and publish documentaion for new version"
47
47
lane :publish_doc do
48
48
new_version = generate_doc
49
49
git_add ( path : "docs/*" )
50
50
git_commit ( path : "docs/*" , message : "chore: update API document for #{ new_version } [skip ci]" )
51
- # push_to_git_remote(
52
- # local_branch: "release",
53
- # remote_branch: "gh-pages",
54
- # tags: true,
55
- # force: true,
56
- # )
51
+ push_to_git_remote (
52
+ local_branch : "release" ,
53
+ remote_branch : "gh-pages" ,
54
+ tags : true ,
55
+ force : true ,
56
+ )
57
57
end
58
58
59
59
desc "Generate jazzy documentaion"
@@ -97,7 +97,7 @@ platform :ios do
97
97
next_version = options [ :version ]
98
98
UI . user_error! ( "version shouldn't be nil" ) if next_version . nil?
99
99
100
- add_git_tag ( tag : "v #{ next_version } " , grouping : nil )
100
+ add_git_tag ( tag : next_version , grouping : nil )
101
101
end
102
102
103
103
desc "Publish new version to cocoapod trunck"
0 commit comments