Set up automatic release publishing (#266)

Summary:
On tags, build and publish artifacts to bintray. The encrypted accounted creds are for a `flipperfbbot` account on Bintray I created for this.
Pull Request resolved: https://github.com/facebook/flipper/pull/266

Reviewed By: priteshrnandgaonkar

Differential Revision: D9848181

Pulled By: passy

fbshipit-source-id: cf9150b2352a9ce972c48533ce15e8e75aa908fe
This commit is contained in:
Pascal Hartig
2018-09-17 01:47:51 -07:00
committed by Facebook Github Bot
parent 0ac03b74cc
commit 474a36c0e2
4 changed files with 35 additions and 4 deletions

View File

@@ -11,8 +11,22 @@ jobs:
./gradlew :sample:assembleDebug
scripts/publish-android-snapshot.sh
release:
docker:
- image: circleci/android:api-28-ndk-r17b
steps:
- checkout
- run:
name: build and deploy
command: scripts/publish-android-release.sh
workflows:
version: 2
build:
jobs:
- build
- release:
filters:
tags:
- only: /^v.*/