Fix fastfile variable
This commit is contained in:
+1
-3
@@ -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)
|
||||
|
||||
@@ -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).
|
||||
Reference in New Issue
Block a user