Description
Is this a bug report?
Yes, this is a bug in the website generation script.
Have you read the Bugs section of the Contributing to React Native Guide?
Yes.
Environment
This is a website/docs generation issue, specifically one affecting the versions.html page which is always generated from master. The issue is present in master as of this writing, and is unrelated to my local build environment.
Steps to Reproduce
- Visit http://facebook.github.io/react-native/versions.html
- Click on the release notes for 0.46, or any version that has been patched (as of this writing, 0.46 is up to v0.46.3).
Expected Behavior
Ideally, the user would be shown the release notes for v0.46.3, which are available at https://github.com/facebook/react-native/releases/tag/v0.46.3
Actual Behavior
The release notes for v0.46.0 are shown: https://github.com/facebook/react-native/releases/tag/v0.46.0
This is due to the way the versions.html page is generated. It's based on the directory names used for each version of the website, which are in the form 0.XX (e.g. 0.45, 0.46).
As we release patches, the release notes are moved up, and as a result the base tag at v0.XX.0 does not contain the release notes.
Reproducible Demo
Can be reproduced by following the steps above.
Activity