I have build and distributed my iOS app using fastlane, for that I have created script in fast file, so now I want pass the env variable in this script for creating the template, this same template I can use my other iOS apps as well, so how can I pass env variables in my fastlane script?
相关问题
- How to get Gitlab merge request description in Git
- What is the result of mounting `/var/run/docker.so
- fastlane cannot find gradlew file?
- Can I pass environment variables from Gitlab .gitl
- How to use netcat inside a gitlab-ci.yml
相关文章
- gitlab-ci docker 部署后 找不到容器
- .gitlab-ci.yml after_script section: how can I tel
- Gitlab CI / Docker: Use custom image for job
- gitlab-ci.yml & docker-in-docker (dind) & curl ret
- Gitlab CI - Publish Failed Test Results to Pages
- How to use Dockerfile in Gitlab CI
- How to specify the submodule branch in gitlab-ci?
- GitlabCi deploy on multiple servers
Fastfile
and Co are just Ruby code, so you can useENV['XYZ']
to access any environment variables.To set environment variables, there are multiple options in fastlane. Some are described at https://docs.fastlane.tools/advanced/other/#environment-variables Fastlane also supports
dotenv
to set environment variables via files: https://docs.fastlane.tools/best-practices/keys/#dotenv