From a5d6e46fa82f3b0561bd1b3c77cea60e2d30d435 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Tue, 5 Jan 2016 18:51:50 +0000 Subject: [PATCH] Tweak the release script --- scripts/release.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 70b24c478..f2cb68e6d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -79,6 +79,8 @@ project_name="RNTestProject" cd /tmp/ rm -rf "$project_name" react-native init "$project_name" + +info "Double checking the versions in package.json and build.gradle are correct:" grep "\"react-native\": \"\^${RELEASE}.0-rc\"" "/tmp/${project_name}/package.json" || error "Incorrect version number in /tmp/${project_name}/package.json" grep "com.facebook.react:react-native:${RELEASE}.+" "${project_name}/android/app/build.gradle" || error "Incorrect version number in /tmp/${project_name}/android/app/build.gradle" @@ -88,7 +90,7 @@ 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 " - 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. We don't have tests for Chrome debugging." info "" info "Press any key to run the sample in Android emulator/device" @@ -101,10 +103,6 @@ open "/tmp/${project_name}/ios/${project_name}.xcodeproj" cd "$repo_root" -info "Press any key to view the diff" -read -n 1 -git diff - info "Press any key to commit changes" read -n 1 git commit -am "[${RELEASE}.0-rc] Bump version numbers"