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
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: build and deploy
|
name: build and deploy
|
||||||
command: |
|
command: ./gradlew :sample:assembleDebug
|
||||||
./gradlew :sample:assembleDebug
|
|
||||||
scripts/publish-android-snapshot.sh
|
snapshot:
|
||||||
|
docker:
|
||||||
|
- image: circleci/android:api-28-ndk-r17b
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and deploy
|
||||||
|
command: scripts/publish-android-snapshot.sh
|
||||||
|
|
||||||
release:
|
release:
|
||||||
docker:
|
docker:
|
||||||
@@ -25,6 +32,10 @@ workflows:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- build
|
||||||
|
- snapshot:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: master
|
||||||
- release:
|
- release:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user