https://github.com/pocket-ninja/fastlane-ext
fastlane extensions
https://github.com/pocket-ninja/fastlane-ext
fastlane telegram
Last synced: 3 months ago
JSON representation
fastlane extensions
- Host: GitHub
- URL: https://github.com/pocket-ninja/fastlane-ext
- Owner: pocket-ninja
- License: mit
- Created: 2020-01-11T15:34:06.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-12-07T13:36:11.000Z (7 months ago)
- Last Synced: 2026-01-13T06:42:26.594Z (6 months ago)
- Topics: fastlane, telegram
- Language: Ruby
- Size: 151 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastlane-ext [](https://github.com/appsurd/fastlane-ext/actions?query=branch:master) [](https://badge.fury.io/rb/fastlane-ext)
## Contents
- [Installation](#installation)
- [Telegram](#telegram)
- [App Release](#app-release)
- [License](#license)
## Installation
Add this line to your Gemfile:
```ruby
gem 'fastlane-ext'
```
And then execute:
```bash
$ bundle install
```
Or install it manually as:
```bash
$ gem install fastlane-ext
```
## Telegram
Notify your telegram group via fastlane with telegram_action.
Just call `telegram` action in your lane:
```ruby
lane :notify_telegram do
fastlane_require 'fastlane-ext'
telegram(
bot_api_token: 'bot api token', # or setup FL_TELEGRAM_BOT_API_TOKEN env variable
chat_id: 'chat id', # or setup FL_TELEGRAM_CHAT_ID env variable
message: 'message',
# 'Markdown' or 'HTML'. It's optional. Also U can setup FL_TELEGRAM_MESSAGE_PARSE_MODE env variable
parse_mode: 'message parse mode',
# `true` or `false`. Whether the message notifies destination chat on arrival. By default notifications are skipped.
silent: true
)
end
```
## App Release
Release the application.
First of all setup certificates using [fastlane match](https://docs.fastlane.tools/actions/match/).
Then setup credentials using `FASTLANE_USER` and `FASTLANE_PASSWORD` env variables.
To release your app run:
```ruby
lane :release do
fastlane_require 'fastlane-ext'
app_release(
schemes: ['app scheme'], # the first scheme should be the one to release
project: 'path to xcodeproj', # optional, default is './*.xcodeproj'
branch: 'remote_branch', # optional, default is main
version: 'version', # optional, default is ENV['VERSION']
target_suffix: '_sfx' # optional
)
end
```
This action will set `APP_RELEASE_VERSION` (like '1.2.3'), `APP_RELEASE_BUILD_NUMBER` (like 1.2.3.0) and `APP_RELEASE_VERSION_TAG` (like 1.2.3/1.2.3.0) env variables.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).