Fix fastfile variable

This commit is contained in:
Florian Gabach
2018-12-10 19:49:16 +01:00
parent 5da43391f5
commit 27ed32b7e1
2 changed files with 40 additions and 3 deletions
+1 -3
View File
@@ -3,9 +3,6 @@
default_platform(:ios)
platform :ios do
podspec_name = "OpenSourceController.podspec"
desc "Release a new version with a patch bump_type"
lane :patch do
release("patch")
@@ -22,6 +19,7 @@ platform :ios do
end
def release(type)
podspec_name = "OpenSourceController.podspec"
pod_lib_lint(use_bundle_exec: false)
version = version_bump_podspec(path: podspec_name, bump_type: type)
git_add(path: podspec_name)
+39
View File
@@ -0,0 +1,39 @@
fastlane documentation
================
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```
xcode-select --install
```
Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew cask install fastlane`
# Available Actions
## iOS
### ios patch
```
fastlane ios patch
```
Release a new version with a patch bump_type
### ios minor
```
fastlane ios minor
```
Release a new version with a minor bump_type
### ios major
```
fastlane ios major
```
Release a new version with a major bump_type
----
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).