Separate snapshot publish logic (#288)
Summary: Snapshots should only ever be published off of master. Pull Request resolved: https://github.com/facebook/flipper/pull/288 Reviewed By: danielbuechele Differential Revision: D10161974 Pulled By: passy fbshipit-source-id: dca8463ff80de9d407758405c24e6511bef534d1
This commit is contained in:
committed by
Facebook Github Bot
parent
f39183b524
commit
d69fb9e6a1
@@ -7,9 +7,16 @@ jobs:
|
||||
- checkout
|
||||
- run:
|
||||
name: build and deploy
|
||||
command: |
|
||||
./gradlew :sample:assembleDebug
|
||||
scripts/publish-android-snapshot.sh
|
||||
command: ./gradlew :sample:assembleDebug
|
||||
|
||||
snapshot:
|
||||
docker:
|
||||
- image: circleci/android:api-28-ndk-r17b
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: build and deploy
|
||||
command: scripts/publish-android-snapshot.sh
|
||||
|
||||
release:
|
||||
docker:
|
||||
@@ -25,6 +32,10 @@ workflows:
|
||||
build-and-deploy:
|
||||
jobs:
|
||||
- build
|
||||
- snapshot:
|
||||
filters:
|
||||
branches:
|
||||
only: master
|
||||
- release:
|
||||
filters:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user