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
This commit is contained in:
parent
b48d112f26
commit
2f400a663b
12
Releases.md
12
Releases.md
|
@ -49,8 +49,8 @@ git checkout -b <version_you_are_releasing>-stable
|
||||||
node ./scripts/bump-oss-version.js <exact-version_you_are_releasing>
|
node ./scripts/bump-oss-version.js <exact-version_you_are_releasing>
|
||||||
# e.g. node ./scripts/bump-oss-version.js 0.22.0-rc
|
# e.g. node ./scripts/bump-oss-version.js 0.22.0-rc
|
||||||
|
|
||||||
git push origin <version_you_are_releasing>-stable --tags
|
git push origin <version_you_are_releasing>-stable --follow-tags
|
||||||
# e.g. git push origin 0.22-stable --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.
|
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 <exact_version_you_are_releasing>
|
node ./scripts/bump-oss-version.js <exact_version_you_are_releasing>
|
||||||
# e.g. node ./scripts/bump-oss-version.js 0.28.0-rc.1
|
# e.g. node ./scripts/bump-oss-version.js 0.28.0-rc.1
|
||||||
|
|
||||||
git push origin version_you_are_releasing-stable --tags
|
git push origin version_you_are_releasing-stable --follow-tags
|
||||||
# e.g. git push origin 0.22-stable --tags
|
# e.g. git push origin 0.22-stable --follow-tags
|
||||||
````
|
````
|
||||||
|
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -152,8 +152,8 @@ git push origin :latest
|
||||||
git tag latest
|
git tag latest
|
||||||
# The latest tag marks when to regenerate the website.
|
# The latest tag marks when to regenerate the website.
|
||||||
|
|
||||||
git push origin version_you_are_releasing-stable --tags
|
git push origin version_you_are_releasing-stable --follow-tags
|
||||||
# e.g. git push origin 0.22-stable --tags
|
# e.g. git push origin 0.22-stable --follow-tags
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Update the release notes
|
#### Update the release notes
|
||||||
|
|
Loading…
Reference in New Issue