release fastlane plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-release
, add it to your project by running:
fastlane add_plugin release
About release
Extends fastlane release actions. Automates the steps to create a new release for a framework. At a high level, it goes through these steps:
1) Increments podspec version 2) Increments xcodeproj version 3) Increments xcodeproj build (opt-in) 4) Commits version bumps 5) Tags release 6) Pushes to remote 7) Pushes podspec
See below for customization options...
Actions
make_release
parameter | optional | default | description |
---|---|---|---|
xcodeproj | false | The path of the xcode project | |
podspec | false | The path of the podspec | |
allow_warnings | true | true |
Allow warnings during pod push |
bump_build | true | false |
Increments the build number; optional |
ensure_git_branch | true | "master" |
The branch that should be checked for |
ensure_git_status_clean | true | true |
Raises an exception if there are uncommitted git changes |
podspec_repo | true | "Trunk" |
The podspec repo |
sources | true | ["https://github.com/CocoaPods/Specs"] |
The sources of repos you want the pod spec to lint with |
tag_prefix | true | "" |
A prefix to be added to the version tag (e.g. "v/") |
version | true | nil |
Change to a specific version. Cannot be used in conjuction with version_bump_type |
version_bump_type | true | "patch" |
The type of this version bump. Available: patch, minor, major |
A typical use case could look something like this:
make_release(
xcodeproj: "Nitrous.xcodeproj",
podspec: "Nitrous.podspec",
podspec_repo: "coledunsby",
tag_prefix: "v/"
)
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
Troubleshooting
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
Using fastlane Plugins
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
About fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.