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 коммит произвёл Facebook Github Bot
Родитель 3ea803a814
Коммит 0541c7b5f4
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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: