react-native/scripts
Konstantin Raev 5d06402b4a Made npm deployment to be independent of git tags cache
Summary:
Fixes npm deployment script as in https://circleci.com/gh/facebook/react-native/6745.

Example situation:
- admin is ready to release 0.26.0
- admin adds tag v0.26.0 and pushes to origin
- Circle CI build fails because of code error
- admin cherry-picks a fix and tags v0.26.0 again and pushes to origin
- Circle does not update local tag v0.26.0 because it already has it cached, compiles the code but fails to deploy to npm because v0.26.0 is not on branch HEAD from Circle point of view

The previous version of the script was checking the tags on current commit as well but it used the local branch tags.
This change fetches tags from `origin` fresh and allows us to redeploy the same version multiple times.
Closes https://github.com/facebook/react-native/pull/7619

Differential Revision: D3334469

fbshipit-source-id: b423fc19516dc4f5f7f2605224e62b8a378c8a7d
2016-05-23 06:58:28 -07:00
..
android-e2e-test.js E2e android 2016-04-13 08:20:05 -07:00
bump-oss-version.js Version release script 2016-03-24 08:41:24 -07:00
circle-ci-android-setup.sh Fixed CI stability: running android tests via emulator not graddle:co… 2016-03-11 13:33:26 -08:00
objc-test.sh Exit with the error status code from xcodebuild 2016-04-23 04:19:22 -07:00
publish-npm.js Made npm deployment to be independent of git tags cache 2016-05-23 06:58:28 -07:00
run-android-instrumentation-tests.sh Fixed instrumentation test runner OK sniffing 2016-05-05 12:54:02 -07:00
run-android-local-integration-test.sh Open sourced SwipeRefreshLayoutRecordingModule 2016-05-05 08:17:34 -07:00
run-android-local-unit-tests.sh Open sourced SwipeRefreshLayoutRecordingModule 2016-05-05 08:17:34 -07:00
run-ci-android-instrumentation-tests.js Increased timeouts and retries for instrumentation tests 2016-05-12 17:43:35 -07:00
run-ci-e2e-tests.js Disabled flow in e2e test because it causes memory crashes 2016-05-19 03:58:25 -07:00
test-manual-e2e.sh Simplify manual testing steps when doing the release 2016-04-18 11:32:28 -07:00
try-n-times.js Added stability to OSS instrumentation tests 2016-05-04 10:59:33 -07:00