Skip to content

Commit 4d59cfa

Browse files
committed
docs: draft Fastlane docs
1 parent 8c9f9f9 commit 4d59cfa

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

content/guide/publishing/fastlane.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Publishing with Fastlane
3+
contributors:
4+
- rigor789
5+
---
6+
7+
::: info Work in progress
8+
9+
This page is a draft, and doesn't contain all the necessary info to get up and running. Until this page is complete, please see [Automatic NativeScript App Deployments with fastlane](https://blog.nativescript.org/automatic-nativescript-app-deployments-with-fastlane/).
10+
11+
:::
12+
13+
Automating uploads to Apple AppStore and Android Play Store is a great way to save time on this otherwise manual, lengthy and error-prone process.
14+
15+
NativeScript apps are built like any other native app, so publishing with Fastlane is generally a straight-forward process, allowing for customizations along the way to suit the project needs.
16+
17+
## What we're setting up
18+
19+
In this guide we'll set up the following:
20+
21+
- automatic certificate handling via Fastlane-match
22+
- automatic ios builds that bump the build number, and upload to TestFlight
23+
- automatic android builds that bump the buiod number, and upload to a Play Store Internal Test Track
24+
- ...
25+
26+
## General Fastlane setup
27+
28+
Add a `Gemfile` to the root of the project:
29+
30+
```ruby
31+
source "https://rubygems.org"
32+
33+
gem "cocoapods"
34+
gem "dotenv"
35+
gem "fastlane"
36+
37+
# Optional: if using Fastlane plugins in a Pluginfile
38+
# plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
39+
# eval_gemfile(plugins_path) if File.exist?(plugins_path)
40+
```
41+
42+
## iOS specific Fastlane setup
43+
44+
## Android specific Fastlane setup

content/guide/publishing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ contributors:
77

88
- [Publishing to Google Play](/guide/publishing/android-google-play)
99
- Publishing to AppStore
10-
- Publishing with Fastlane
10+
- [Publishing with Fastlane](/guide/publishing/fastlane)

0 commit comments

Comments
 (0)