From 945306e397c4eeaafab061a7d9bf0c822c203c52 Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Thu, 24 Mar 2016 06:36:09 -0700 Subject: [PATCH] Add testing HMR into manual testing steps Reviewed By: dmmiller Differential Revision: D3087133 fb-gh-sync-id: cb3b073dd77d40fb051a9bc17b6c24b49a325371 shipit-source-id: cb3b073dd77d40fb051a9bc17b6c24b49a325371 --- Releases.md | 6 +++++- scripts/test-manual-e2e.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Releases.md b/Releases.md index b107bcb02c..4e08a76422 100644 --- a/Releases.md +++ b/Releases.md @@ -41,6 +41,8 @@ git push origin -stable --tags # e.g. git push origin Circle CI will run the tests and publish to npm with version `0.22.0-rc` and tag `next` meaning that this version will not be installed for users by default. +Go to [Circle CI](https://circleci.com/gh/facebook/react-native), look for your branch on the left side and look the npm publish step. + ** Note ** CI won't publish to npm if the `last` commit on the new branch does not have a tag `v.0-[rc]`. ## Make sure we have release notes @@ -85,8 +87,10 @@ If everything worked: ``` git tag v-version_you_are_releasing # e.g. git tag v0.22.0, git tag v0.22.1 +git tag -d latest +git push origin :latest git tag latest # for docs [website](https://facebook.github.io/react-native) to be generated -git push origin 0.22-stable --tags +git push origin version_you_are_releasing-stable --tags # e.g. git push origin 0.22-stable --tags ``` Once you see the version in the top left corner of the website has been updated: diff --git a/scripts/test-manual-e2e.sh b/scripts/test-manual-e2e.sh index 94a7fecb86..4e3d58c97e 100755 --- a/scripts/test-manual-e2e.sh +++ b/scripts/test-manual-e2e.sh @@ -55,8 +55,12 @@ success "New sample project generated at /tmp/${project_name}" info "Test the following both on Android and iOS:" info " - Verify that packager opens in new Window" info " - Verify that you see the 'Welcome to React Native' screen" +info " - Disable Hot Reloading. It might be enabled from last time (the setting is stored on the device)" info " - Verify 'Reload JS' works" -info " - Test Chrome debugger by adding breakpoints. We don't have tests for Chrome debugging." +info " - Test Chrome debugger by adding breakpoints and reloading JS. We don't have tests for Chrome debugging." +info " - Disable Chrome debugging." +info " - Enable Hot Reloading, change a file (index.ios.js, index.android.js) and save. The UI should refresh." +info " - Disable Hot Reloading." info "" info "Press any key to run the sample in Android emulator/device"