Skip to content

Commit 2f400a6

Browse files
ideFacebook Github Bot 1
authored andcommitted
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 #8531 Differential Revision: D3515530 fbshipit-source-id: c951ee1c6170286c5fee0191cc375657a299e34a
1 parent b48d112 commit 2f400a6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Releases.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ git checkout -b <version_you_are_releasing>-stable
4949
node ./scripts/bump-oss-version.js <exact-version_you_are_releasing>
5050
# e.g. node ./scripts/bump-oss-version.js 0.22.0-rc
5151

52-
git push origin <version_you_are_releasing>-stable --tags
53-
# e.g. git push origin 0.22-stable --tags
52+
git push origin <version_you_are_releasing>-stable --follow-tags
53+
# e.g. git push origin 0.22-stable --follow-tags
5454
```
5555

5656
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:
114114
node ./scripts/bump-oss-version.js <exact_version_you_are_releasing>
115115
# e.g. node ./scripts/bump-oss-version.js 0.28.0-rc.1
116116

117-
git push origin version_you_are_releasing-stable --tags
118-
# e.g. git push origin 0.22-stable --tags
117+
git push origin version_you_are_releasing-stable --follow-tags
118+
# e.g. git push origin 0.22-stable --follow-tags
119119
````
120120

121121
-------------------
@@ -152,8 +152,8 @@ git push origin :latest
152152
git tag latest
153153
# The latest tag marks when to regenerate the website.
154154
155-
git push origin version_you_are_releasing-stable --tags
156-
# e.g. git push origin 0.22-stable --tags
155+
git push origin version_you_are_releasing-stable --follow-tags
156+
# e.g. git push origin 0.22-stable --follow-tags
157157
```
158158

159159
#### Update the release notes

0 commit comments

Comments
 (0)