zendframework / zf3-web

Website of Zend Framework 3
https://framework.zend.com
BSD 3-Clause "New" or "Revised" License
39 stars 34 forks source link

Fix LTS support table generation #104

Closed weierophinney closed 6 years ago

weierophinney commented 6 years ago

The previous version had a number of errors, including:

You can read more about them in #103.

This patch fixes the logic so that the following statements are true:

Additionally, I've added a special case for the ZendSkeletonApplication: when 3.0 is the most recent major version, we do not generate additional LTS packages (as previous LTS was 2.4).

To make this possible, I also introduced a new command, lts:fetch-tag-data; this fetches the raw tag data and dumps it to STDOUT as a PHP file, allowing you to redirect STDOUT to a filename. This allowed me to test without needing to pull data via the GitHub API constantly.

Fixes #103.