Skip to content

Commit 90c1e72

Browse files
author
Di Wu
authored
chore(ci): prepare for release (#18)
1 parent 7ce2155 commit 90c1e72

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

AmplifyUtilsNotifications.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Pod::Spec.new do |spec|
2121
spec.osx.deployment_target = "10.15"
2222
spec.swift_version = "5.6"
2323

24-
spec.source = { :git => "https://github.com/aws-amplify/amplify-swift-utils-notifications.git", :tag => "v#{spec.version}" }
24+
spec.source = { :git => "https://github.com/aws-amplify/amplify-swift-utils-notifications.git", :tag => spec.version }
2525

2626
spec.source_files = "Sources/AmplifyUtilsNotifications/**/*.swift"
2727

fastlane/Fastfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ platform :ios do
3939
generate_version_bump_commit(version: next_version)
4040
generate_changelog_commit(version: next_version, commits: commits)
4141
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
4444
end
4545

4646
desc "Generate and publish documentaion for new version"
4747
lane :publish_doc do
4848
new_version = generate_doc
4949
git_add(path: "docs/*")
5050
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+
)
5757
end
5858

5959
desc "Generate jazzy documentaion"
@@ -97,7 +97,7 @@ 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: "v#{next_version}", grouping: nil)
100+
add_git_tag(tag: next_version, grouping: nil)
101101
end
102102

103103
desc "Publish new version to cocoapod trunck"

0 commit comments

Comments
 (0)