Basic Fastlane config for android on Google Play

This commit is contained in:
Nikolai R Kristiansen committed 2017-10-29 22:31:59 +01:00
1 parent 7b61a56b67
commit 34bc0a3e30
15 files changed
+98 -3

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ buck-out/
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
*/fastlane/test_output
android/google_play.json
.env*
*.swp
+5 -2
View File
@@ -33,10 +33,13 @@
DUSKEN_RELEASE_KEY_PASSWORD=
# Build
yarn build-android
yarn build-android # Output is in android/app/build/outputs/apk
# Output is in android/app/build/outputs/apk
# Note: Make sure you have the file android/google_play.json
# Ref: https://docs.fastlane.tools/actions/supply/#setup
# Publish android build to the Google Play beta track
yarn release-android
## Libraries
+2
View File
@@ -0,0 +1,2 @@
json_key_file "google_play.json" # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name "no.neuf.chateau" # e.g. com.krausefx.app
+27
View File
@@ -0,0 +1,27 @@
# Customise this file, documentation can be found here:
# https://docs.fastlane.tools/actions/
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.62.1"
default_platform :android
platform :android do
desc "Submit a new build to the Google Play Beta track"
lane :beta do
# build the release variant
gradle(task: "assembleRelease")
# upload to Google Play
supply(track: "beta")
end
end
+48
View File
@@ -0,0 +1,48 @@
fastlane documentation
================
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```
xcode-select --install
```
## Choose your installation method:
<table width="100%" >
<tr>
<th width="33%"><a href="http://brew.sh">Homebrew</a></td>
<th width="33%">Installer Script</td>
<th width="33%">Rubygems</td>
</tr>
<tr>
<td width="33%" align="center">macOS</td>
<td width="33%" align="center">macOS</td>
<td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
</tr>
<tr>
<td width="33%"><code>brew cask install fastlane</code></td>
<td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
<td width="33%"><code>sudo gem install fastlane -NV</code></td>
</tr>
</table>
# Available Actions
## Android
### android beta
```
fastlane android beta
```
Submit a new Build to the Google Play Beta track
### android deploy
```
fastlane android deploy
```
Deploy a new version to Google Play
----
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).
@@ -0,0 +1,4 @@
You can do the following:
- See your proof of membership
- Buy or renew your membership
- See the event schedule with all of our events
@@ -0,0 +1 @@
Your proof of membership and the event schedule at Chateau Neuf
@@ -0,0 +1 @@
Chateau Neuf
Whitespace-only changes.
@@ -0,0 +1,4 @@
Du kan gjøre følgende
- Se ditt medlemskapsbevis
- Kjøpe og fornye medlemskap
- Se programmet med alle våre arrangementer
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

@@ -0,0 +1 @@
Medlemskapsbevis og program for Chateau Neuf
@@ -0,0 +1 @@
Chateau Neuf - Det Norske Studentersamfund
Whitespace-only changes.
+2 -1
View File
@@ -6,7 +6,8 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"emulator": "emulator -avd $(emulator -list-avds | head)&",
"build-android": "cd android && ./gradlew assembleRelease"
"build-android": "cd android && ./gradlew assembleRelease",
"release-android": "cd android && fastlane beta"
},
"dependencies": {
"moment": "^2.19.1",