diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 1b9632f..88a3ffe 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -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 diff --git a/ios/fastlane/metadata/zh-Hans/release_notes.txt b/ios/fastlane/metadata/zh-Hans/release_notes.txt index 8b13789..6ce58e2 100644 --- a/ios/fastlane/metadata/zh-Hans/release_notes.txt +++ b/ios/fastlane/metadata/zh-Hans/release_notes.txt @@ -1 +1 @@ - +提升用户体验,修复已知问题。