Last active
November 7, 2016 18:54
-
-
Save hjanuschka/4db28a3e949d81a4e17c5adc996ac769 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :pod_update do | |
#reset podspec to latest tag | |
version_bump_podspec( | |
version_number: last_git_tag | |
) | |
#increment podspec by one | |
new_tag = version_bump_podspec | |
# add a tag | |
add_git_tag( | |
tag: new_tag, | |
) | |
push_git_tags | |
git_commit(path: "kmmsologin.podspec", message: "Pod Bump [ci skip]") | |
push_to_git_remote | |
# publish the updated podspec | |
pod_push(path: "kmmsologin.podspec", allow_warnings: true, use_libraries: true) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment