Run deploys to npm whenever a new tag is pushed to a stable branch (#19742)

Summary:
This has been tested in `0.56-stable` and was used to deploy the `0.56.0-rc.2` release.
Pull Request resolved: https://github.com/facebook/react-native/pull/19742

Differential Revision: D9071349

Pulled By: hramos

fbshipit-source-id: 6bccbe4a56cb080bd7d75c1f622168e462fb4c86
This commit is contained in:
Héctor Ramos 2018-07-30 15:24:01 -07:00 committed by Facebook Github Bot
parent 3ea803a814
commit 0541c7b5f4
1 changed files with 2 additions and 1 deletions

View File

@ -679,7 +679,8 @@ workflows:
- publish_npm_package: - publish_npm_package:
filters: filters:
branches: branches:
ignore: /.*/ only:
- /.*-stable/
tags: tags:
only: /v[0-9]+(\.[0-9]+)*(\-rc(\.[0-9]+)?)?/ only: /v[0-9]+(\.[0-9]+)*(\-rc(\.[0-9]+)?)?/
requires: requires: