Skip to content

Commit

Permalink
Use --follow-tags instead of --tags
Browse files Browse the repository at this point in the history
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 facebook#8531

Differential Revision: D3515530

fbshipit-source-id: c951ee1c6170286c5fee0191cc375657a299e34a
  • Loading branch information
ide authored and Facebook Github Bot 1 committed Jul 4, 2016
1 parent b48d112 commit 2f400a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ git checkout -b <version_you_are_releasing>-stable
node ./scripts/bump-oss-version.js <exact-version_you_are_releasing>
# e.g. node ./scripts/bump-oss-version.js 0.22.0-rc

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
```

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.
Expand Down Expand Up @@ -114,8 +114,8 @@ If everything worked:
node ./scripts/bump-oss-version.js <exact_version_you_are_releasing>
# 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
````

-------------------
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2f400a6

Please sign in to comment.