From 2f400a663b778e1c1f46a78f4fdfc81455c4054c Mon Sep 17 00:00:00 2001 From: James Ide Date: Mon, 4 Jul 2016 12:30:23 -0700 Subject: [PATCH] Use --follow-tags instead of --tags Summary: --tags pushes all tags, which is rarely what we want. --follow-tags pushes only the tags in the commits that are being pushed. Closes https://github.com/facebook/react-native/pull/8531 Differential Revision: D3515530 fbshipit-source-id: c951ee1c6170286c5fee0191cc375657a299e34a --- Releases.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Releases.md b/Releases.md index 844139314..a0cde4607 100644 --- a/Releases.md +++ b/Releases.md @@ -49,8 +49,8 @@ git checkout -b -stable node ./scripts/bump-oss-version.js # e.g. node ./scripts/bump-oss-version.js 0.22.0-rc -git push origin -stable --tags -# e.g. git push origin 0.22-stable --tags +git push origin -stable --follow-tags +# e.g. git push origin 0.22-stable --follow-tags ``` Circle CI will automatically run the tests and publish to npm with the version you have specified (e.g `0.22.0-rc`) and tag `next` meaning that this version will not be installed for users by default. @@ -114,8 +114,8 @@ If everything worked: node ./scripts/bump-oss-version.js # e.g. node ./scripts/bump-oss-version.js 0.28.0-rc.1 -git push origin version_you_are_releasing-stable --tags -# e.g. git push origin 0.22-stable --tags +git push origin version_you_are_releasing-stable --follow-tags +# e.g. git push origin 0.22-stable --follow-tags ```` ------------------- @@ -152,8 +152,8 @@ git push origin :latest git tag latest # The latest tag marks when to regenerate the website. -git push origin version_you_are_releasing-stable --tags -# e.g. git push origin 0.22-stable --tags +git push origin version_you_are_releasing-stable --follow-tags +# e.g. git push origin 0.22-stable --follow-tags ``` #### Update the release notes