Update Fastfile

iOS
mlch911 4 years ago
parent 750a236720
commit ecb8f2f1c2

@ -122,4 +122,13 @@ platform :ios do
end end
lane_context[:BUILD_STRING] lane_context[:BUILD_STRING]
end end
private_lane :revert_bump_build do
last_commit = `git --no-pager log --pretty=format:%H -1`
last_commit_message = `git --no-pager log --pretty=format:%s -1 last_commit`
if last_commit_message == 'Increase Build Number'
`git tag -d #{tag_string}`
`git reset --soft #{last_commit}^`
end
end
end end

@ -1 +1 @@
提升用户体验,修复已知问题。

Loading…
Cancel
Save