Update Fastfile

This commit is contained in:
2022-05-02 22:41:48 +08:00
parent 750a236720
commit ecb8f2f1c2
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -122,4 +122,13 @@ platform :ios do
end
lane_context[:BUILD_STRING]
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
@@ -1 +1 @@
提升用户体验,修复已知问题。