Update Fastfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user